Idea SpringBoot启动项目报错Command line is too long. Shorten command line for className or also for JUnit

Idea  SpringBoot启动项目报错:Command line is too long. Shorten command line for className or also for JUnit defaultconfiguration.

 

解决方法:

步骤一: 

在该项目文件夹.idea/workspace.xml中找到

<component name="PropertiesComponent">

 ...

</component>

 

然后在其中添加:

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

 

一般步骤一就可以解决好,如果启动还是报一样的问题,则按照下面的方式处理

 

步骤二:

设置Springboot启动配置 shorten comand_line为jar mainfest

Idea SpringBoot启动项目报错Command line is too long. Shorten command line for className or also for JUnit

Idea SpringBoot启动项目报错Command line is too long. Shorten command line for className or also for JUnit