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

7 Ansichten (letzte 30 Tage)
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

Akzeptierte Antwort

Friedrich
Friedrich am 13 Mai 2014
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.

Weitere Antworten (2)

Davide
Davide am 13 Mai 2014
Ok thank you. I solved unistalling Simulink Report Generator toolbox.

Giulio Cerino Abdin
Giulio Cerino Abdin am 15 Mai 2014
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 Kommentar
Friedrich
Friedrich am 16 Mai 2014
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.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by