idea启动springboot项目的时候,经常会遇到提示启动类“Command line is too long”的错,本文介绍遇到这个错怎么解决
工具/原料
1
联想T480
2
windows10
3
IntelliJ IDEA 2018.2.5 x64
方法/步骤
1
微服务启动的时候直接报启动类错:“Command line is too long..”
2
打开项目的工作空间,进入.idea的文件夹,打开workspace.xml文件。
3
找到name为“PropertiesComponent”,增加一行:
4
更改后重启idea,在启动就可以了。