idea报错:Error running $classname: Command line is too long. Shorten command line for $classname.

 

1.按照提示修改该类的配置,选择jar manifest(每个报错的类都需要注意设置,项目的.idea/workspace.xml有这个选项,可以修改默认值,这样就不用每次更改) 

bug记录-idea启动

 

bug记录-idea启动

2.在项目的.idea/workspace.xml文件中,找到 
<component name="PropertiesComponent">,添加一行<property name="dynamic.classpath" value="true" />

bug记录-idea启动

相关文章: