how can i solve this installation problem with matlab r2014a (32bit and 64 bit on windows 7)

조회 수: 7 (최근 30일)
hello, I' am getting some errors when matlab starts (new installation r2014a 32bit, also tried with 64 bit, same errors)Prob. Java related.
ERROR: Error starting reference:file:/C:/Program Files (x86)/MATLAB/R2014a/java/jar/toolbox/rptgenslxmlcomp.jar (org.osgi.framework.BundleException: Activator start error in bundle com.mathworks.toolbox.rptgenslxmlcomp [19].) java.lang.NoClassDefFoundError: com/mathworks/toolbox/rptgenxmlcomp/plugin/CTypeDeterminantXMLRoot at com.mathworks.toolbox.rptgenslxmlcomp.plugins.slx.SlxComparisonPlugin.addComparisonTypes(SlxComparisonPlugin.java:28) at com.mathworks.toolbox.rptgenslxmlcomp.plugins.slx.SlxComparisonPlugin.<init>(SlxComparisonPlugin.java:17) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.mathworks.util.osgi.ServicesActivator.registerServicePair(ServicesActivator.java:58) at com.mathworks.util.osgi.ServicesActivator.parseServices(ServicesActivator.java:38) at com.mathworks.util.osgi.ServicesActivator.start(ServicesActivator.java:33) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589) at org.apache.felix.framework.Felix.startBundle(Felix.java:1458) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.mathworks.toolbox.rptgenxmlcomp.plugin.CTypeDeterminantXMLRoot at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 16 more >>
if true
% code
end

채택된 답변

Friedrich
Friedrich 2014년 5월 13일
Hi,
  1. As specified in the system requirements link below, the Simulink Report Generator requires MATLAB Report Generator and Simulink. http://www.mathworks.com/products/availability/#SR
  2. “rptgenslxmlcomp.jar” is part of Simulink Report Generator and depends on “rptgenxmlcomp.jar” which is part of MATLAB Report Generator. The error seems to indicate that it may be “rptgenxmlcomp.jar” or “rptgenslxmlcomp.jar“ that are missing.
  3. Please check if the files “rptgenslxmlcomp.jar” and “rptgenxmlcomp.jar” exist at the path that you get after executing following MATLAB command.
>> cd([matlabroot,'/Java/jar/toolbox'])
4. Both the MATLAB Report Generator and Simulink Report Generator need to be installed along with MATLAB and Simulink.

추가 답변 (2개)

Davide
Davide 2014년 5월 13일
Ok thank you. I solved unistalling Simulink Report Generator toolbox.

Giulio Cerino Abdin
Giulio Cerino Abdin 2014년 5월 15일
I have the same or similar problem. The file rptgenslxmlcomp.jar is present in the path.
ERROR: Error starting reference:file:/C:/Program Files/MATLAB/R2014a/java/jar/toolbox/rptgenslxmlcomp.jar (org.osgi.framework.BundleException: Activator start error in bundle com.mathworks.toolbox.rptgenslxmlcomp [1].) java.lang.NoClassDefFoundError: com/mathworks/toolbox/rptgenxmlcomp/plugin/CTypeDeterminantXMLRoot at com.mathworks.toolbox.rptgenslxmlcomp.plugins.slx.SlxComparisonPlugin.addComparisonTypes(SlxComparisonPlugin.java:28) at com.mathworks.toolbox.rptgenslxmlcomp.plugins.slx.SlxComparisonPlugin.<init>(SlxComparisonPlugin.java:17) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance0(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at com.mathworks.util.osgi.ServicesActivator.registerServicePair(ServicesActivator.java:58) at com.mathworks.util.osgi.ServicesActivator.parseServices(ServicesActivator.java:38) at com.mathworks.util.osgi.ServicesActivator.start(ServicesActivator.java:33) at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:589) at org.apache.felix.framework.Felix.startBundle(Felix.java:1458) at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:984) at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:263) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.ClassNotFoundException: com.mathworks.toolbox.rptgenxmlcomp.plugin.CTypeDeterminantXMLRoot at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 16 more
  댓글 수: 1
Friedrich
Friedrich 2014년 5월 16일
Please check point 2.) of my post.
rptgenslxmlcomp.jar” is part of Simulink Report Generator and depends on “rptgenxmlcomp.jar” which is part of MATLAB Report Generator. The error seems to indicate that it may be “ rptgenxmlcomp.jar ” or “ rptgenslxmlcomp.jar “ that are missing.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by