idea eval reset报错java.lang.NoClassDefFoundError:
时间: 2023-10-13 09:57:07 浏览: 680
idea-eval-reset.zip
回答: 当出现idea eval reset报错java.lang.NoClassDefFoundError时,一般是由于idea版本不兼容或者缺少依赖导致的。解决这个问题的方法有两种。一种是重新配置JDK11,点击File->Project Structure->Project Settings->Project->Project SDK,然后重新运行。\[1\]另一种方法是在plugin.xml中添加依赖模块,包括com.intellij.modules.platform、com.intellij.modules.lang和com.intellij.modules.java。这样可以解决在高版本的idea中需要手动加载依赖的问题。\[2\]
#### 引用[.reference_title]
- *1* [intelliJ IDEA 2019 JDK配置错误导致:java.lang.NoClassDefFoundError](https://blog.csdn.net/qq_23391997/article/details/124063950)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
- *2* [idea插件开发,使用报错:java.lang.NoClassDefFoundError: com/intellij/psi/search/PsiShortNamesCache](https://blog.csdn.net/q258523454/article/details/122601427)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文