Why am I getting a java error when trying to run my java class compiled by MATLAB Builder JA 2.2.3 (R2011b)?
이전 댓글 표시
I have compiled a java class using MATLAB Builder JA 2.2.3 (R2011b). When I try to run the class on my Linux machine, I get the following error:
Exception in thread "main" java.lang.NoSuchMethodError: com.mathworks.toolbox.javabuilder(Com/mathworks/toolbox/javabuilder/Microphone;Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;[I)Com/mathworks/toolbox/javabuilder/internal/MWMCR;
at com.entic.matlab._255_plantoptimizer._255_plantoptimizerMCRFactory.newInstance(_255_plantoptimizerMCRFactory.java:47)
at com.entic.matlab._255_plantoptimizer._255_plantoptimizerMCRFactory.newInstance(_255_plantoptimizerMCRFactory.java:58)
at com.entic.matlab._255_plantoptimizer.PlantOptimizer.<init>(PlantOptimizer.java:62)
at com.entic.matlab.esb._255.ChillerOptimizer.calculateOptimization(ChillerOptimizer.java:24)
at com.entic.matlab.esb._255.ChillerOptimizer.main(ChillerOptimizer.java:63)
I have made sure that the MCR is installed.
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Deploy to Java Applications Using MWArray Data API에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!