我使用的是Tomcat7,jdk1.7,我是使用war包的方式放到Tomcat的webapp文件夹中的,在使用JRI调用R的时候报了如下错误,尝试了好久也没有解决,望大神相助!!感激不尽!!报错信息如下:
Cannot find JRI native library!
Please make sure that the JRI native library is in a directory listed in java.library.path.
java.lang.UnsatisfiedLinkError: no jri in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1886)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at org.rosuda.JRI.Rengine.(Rengine.java:19)
at jriUtil.SingleRengine.getRegineInstance(SingleRengine.java:19)
at com.csot.service.iml.search.MeasureStepServiceImpl.getRengine(MeasureStepServiceImpl.java:38)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
求助各位大神