Why do I get this error? com.mathwo​rks.toolbo​x.javabuil​der.intern​al.MWMCR

조회 수: 18 (최근 30일)
Zetty  Zakaria
Zetty Zakaria 2014년 8월 13일
답변: zhonghao win 2021년 7월 14일
I keep on getting this error when trying to run on server.
java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.toolbox.javabuilder.internal.MWMCR
com.mathworks.toolbox.javabuilder.MWUtil.GetUnknownClassID(MWUtil.java:727)
com.mathworks.toolbox.javabuilder.MWClassID.<clinit>(MWClassID.java:41)
SingleDose.doGet(SingleDose.java:63)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51
Can somebody please explain what should I do? I dont have problem to run the .jsp file. The error will come only when I try to simulate the webfigure.
Work done: Install SDK, mex -setup, install MCR, putting javabuilder.jar in Tomcat lib, set environment for JAVA_HOME JAVA_JRE CLASSPATH Path CATALINA_HOME.

답변 (1개)

zhonghao win
zhonghao win 2021년 7월 14일
Have you solved the problem?

카테고리

Help CenterFile Exchange에서 MATLAB Compiler SDK에 대해 자세히 알아보기

태그

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by