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

守給你的承諾、 提交于 2019-12-21 10:44:26

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

 

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!