IDEA編譯項目報錯:Command line is too long

Idea啓動項目報錯:Command line is too long. Shorten command line for className or also for JUnit defaultconfiguration.

如下圖所示:

 

解決方法:

在該項目文件夾.idea/workspace.xml中搜索 “PropertiesComponent ”找到

<component name="PropertiesComponent">

  ...

</component>

然後在其中添加:

<property name="dynamic.classpath" value="true" />

問題得到解決。

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