Spring Boot Intellij 运行应用的时候 Command line is too long. Shorten command line for 错误

提示的错误信息如下:

*Command line is too long*. Shorten *command line* for

 

 

解决办法

有下面 2 个方法都可以解决这个问题。

修改应用

首先需要选择 Application,然后选择编辑。

spring-app-02

然后通过上面选择 JAR 的配置。

 

 

修改 workspace.xml

然后修改 workspace.xml 文件,针对 PropertiesComponent 组件,添加下面的参数:

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

 

 

然后重新启动后就可以解决这个问题了。

https://www.ossez.com/t/spring-boot-intellij-command-line-is-too-long-shorten-command-line-for/763

posted @ 2020-12-08 03:05  huyuchengus  阅读(1105)  评论(0编辑  收藏  举报