matlab啓動時,命令行中出現“java.lang. ClassNotFo undExcepti on”錯誤代碼

當我在使用pycharm IDE編寫Python代碼,在打開matlab 2015時,出現錯誤代碼:

eption "java.lang.ClassNotFoundException: com.intellij.codeInsight.editorActions.FoldingData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=com.intellij.codeInsight.editorActions.FoldingData

當時,我以爲是matlab啓動出了問題,於是就查了查出了什麼問題。發現這個問題與matlab啓動沒有關係,是與其他軟件(如: IntelliJ, WebStorm, 或者 PyCharm)同時在放入了剪貼板(clipboard)的原因。只要關閉同時打開的IntelliJ, WebStorm, 或者 PyCharm,再打開matlab軟件,就會恢復正常,不會出現錯誤代碼。

參考資源:

java.lang.​ClassNotFo​undExcepti​on in matlabR2014a

想深入瞭解代碼出現錯誤的原因,可以進入:Why/How is IntelliJ causing debug output in Netbeans?

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章