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 Center および File ExchangeIntroduction 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