问题描述
- java调用MATLAB打包的jar,Java application调用成功,jsp调用失败,不知道为什么
-
报错如下:
java.lang.UnsatisfiedLinkError: Failed to find the library mclmcrrt710.dll, required by MATLAB Builder JA, on java.library.pathcom.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也安装了,这个问题困扰了我很长时间,希望能得各位的帮助,谢谢
时间: 2024-10-24 19:01:46