2 daerqq daerqq 于 2013.10.16 21:30 提问

java调用MATLAB打包的jar,Java application调用成功,jsp调用失败,不知道为什么

报错如下:
java.lang.UnsatisfiedLinkError: Failed to find the library mclmcrrt710.dll, required by MATLAB Builder JA, on java.library.path

com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.get(MCRConfiguration.java:123)
com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$ProxyLibraryDir.<clinit>(MCRConfiguration.java:126)
com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.getProxyLibraryDir(MCRConfiguration.java:131)
com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$IsInstalledMCR.get(MCRConfiguration.java:33)
com.mathworks.toolbox.javabuilder.internal.MCRConfiguration$IsInstalledMCR.<clinit>(MCRConfiguration.java:41)
com.mathworks.toolbox.javabuilder.internal.MCRConfiguration.isInstalledMCR(MCRConfiguration.java:46)
com.mathworks.toolbox.javabuilder.internal.MWMCR.<clinit>(MWMCR.java:1442)
test.TestMCRFactory.<clinit>(TestMCRFactory.java:100)
test.myaddclass.<init>(myaddclass.java:62)
com.slzyjc.bean.a.main(a.java:23)
org.apache.jsp.a_jsp._jspService(a_jsp.java:75)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

我的处理器是Intel,jdk是1.6,MATLAB是R2009a,MCR也安装了,这个问题困扰了我很长时间,希望能得各位的帮助,谢谢

Csdn user default icon
上传中...
上传图片
插入图片