idea解决Command line is too long. Shorten command line for ServiceStarter or also for Application报错

找到 .idea\workspace.xml;

找到
<component name="PropertiesComponent">,
在里面添加
<property name="dynamic.classpath" value="true" />
即可

第二种方法:

点击项目启动配置项 --> Enviroment --> Shorten command line 选项 --> 选择 classpath file 或JAR manifest 选项 --> 重新启动工程运行即可。

你可能感兴趣的:(idea,idea)