- 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
- “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.
- Please check if the files “rptgenslxmlcomp.jar” and “rptgenxmlcomp.jar” exist at the path that you get after executing following MATLAB command.
how can i solve this installation problem with matlab r2014a (32bit and 64 bit on windows 7)
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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
0 commentaires
Réponse acceptée
Friedrich
le 13 Mai 2014
Hi,
>> cd([matlabroot,'/Java/jar/toolbox'])
4. Both the MATLAB Report Generator and Simulink Report Generator need to be installed along with MATLAB and Simulink.
0 commentaires
Plus de réponses (2)
Giulio Cerino Abdin
le 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 commentaire
Friedrich
le 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.
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!