java.lang.​NoClassDef​FoundError

4 ビュー (過去 30 日間)
YinSi Zhang
YinSi Zhang 2016 年 4 月 3 日
コメント済み: Sudipta 2017 年 5 月 1 日
I'm a novice learning MATLAB. My MATLAB version is 2015a.I've learned from the guide book that by inputing demos in the command window, I can get help on how to use MATLAB with demonstration. I did as I was told and then the screen displays some error codes. The followings are the screenshot. What should I do. Hoping for solution.
Error using demo (line 21)
Java exception occurred:
java.lang.NoClassDefFoundError: Could not initialize class com.mathworks.mlwidgets.help.ProductFilterModel$InstalledState
at com.mathworks.mlwidgets.help.DocCenterProductPrefs.getSelectedProductsFromPref(DocCenterProductPrefs.java:47)
at com.mathworks.mlwidgets.help.DocCenterProductPrefs.getProductFilterModel(DocCenterProductPrefs.java:33)
at com.mathworks.mlwidgets.help.DocCenterDocConfigParams.<init>(DocCenterDocConfigParams.java:37)
at com.mathworks.mlwidgets.help.DocCenterDocConfig.getLocalConfig(DocCenterDocConfig.java:77)
at com.mathworks.mlwidgets.help.DocCenterDocConfig.getInstance(DocCenterDocConfig.java:65)
at com.mathworks.mlwidgets.help.DocCenterUtils$DefaultDependencyProvider.getDocConfig(DocCenterUtils.java:310)
at com.mathworks.mlwidgets.help.DocCenterUtils.getDocConfig(DocCenterUtils.java:166)
at com.mathworks.mlwidgets.help.DocCenterUtils.getExamplesUrlForDemoCommand(DocCenterUtils.java:157)
at com.mathworks.mde.help.DocCenterBrowserHandler.showDemos(DocCenterBrowserHandler.java:595)
at com.mathworks.mde.help.DocCenterBrowserHandler.showDemos(DocCenterBrowserHandler.java:574)
at com.mathworks.mde.help.HelpBrowserBridge.showDemos(HelpBrowserBridge.java:182)
at com.mathworks.mlservices.MLHelpServices.showDemos(MLHelpServices.java:217)
  1 件のコメント
Sudipta
Sudipta 2017 年 5 月 1 日
Hi, I am also experiencing the same error message while trying to read a ros bag file. Can anyone tell me why is this? Thanks in advance.

サインインしてコメントする。

回答 (1 件)

MBD4FUN
MBD4FUN 2016 年 4 月 3 日
If the problem persist even if you restart Matlab, try to do a fresh re-install of Matlab. Hope it helps!
Cheers,
MBD4FUN
  1 件のコメント
YinSi Zhang
YinSi Zhang 2016 年 4 月 3 日
Thank you, mate. I will have a try.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by