1. 程式人生 > >專案在idea中報錯Command line is too long.

專案在idea中報錯Command line is too long.

Command line is too long. Shorten command line for SessionAnalysisJob or also for Application default configuration.

解決辦法:

在專案/.idea/workspace.xml檔案中新增一行程式碼如下

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