Spring Boot Intellij 运行应用的时候 Com
2020-12-08 本文已影响0人
HoneyMoose
提示的错误信息如下:
*Command lineistoolong*. Shorten *command line*for
![](https://img.haomeiwen.com/i11221089/f39ab360f1c110cf.png)
解决办法
有下面 2 个方法都可以解决这个问题。
修改应用
首先需要选择 Application,然后选择编辑。
![](https://img.haomeiwen.com/i11221089/0d3dc8d7ab7ae8d7.png)
然后通过上面选择 JAR 的配置。
![](https://img.haomeiwen.com/i11221089/1a35d528d1f24613.png)
修改 workspace.xml
然后修改 workspace.xml 文件,针对 PropertiesComponent 组件,添加下面的参数:
![](https://img.haomeiwen.com/i11221089/43f9511f8f032c13.png)
然后重新启动后就可以解决这个问题了。
https://www.ossez.com/t/spring-boot-intellij-command-line-is-too-long-shorten-command-line-for/763