Idea 启动spring boot报错,Error running ‘XxxServerApplication’: Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration.
报错日志:
All files are up-to-date
Error running 'BaseServerApplication': Command line is too long. Shorten command line for xxx or also for Spring Boot default configuration.
解决办法:
找到项目 .idea\workspace.xml
文件,添加下面内容。
// 找到这个标签
<component name="PropertiesComponent">
// 添加下面行内容
<property name="dynamic.classpath" value="true" />
</component>