- 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 次查看(过去 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
0 个评论
采纳的回答
Friedrich
2014-5-13
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 个评论
更多回答(2 个)
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
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 Center 和 File 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!