IDEA启动spring boot项目时报错 Error running ‘ApplicationRun’: Command line is too long. Shorten command line for ApplicationRun or also for Spring Boot default configuration.如何解决
打开项目文件夹找到该文件
xxxxxxxxxxxxxxx/.idea/workspace.xml
在文件这个内容内 (后面尖括号自行补上 因为发布后面再带尖括号该段内容会被隐藏)
<component name=“PropertiesComponent”
加入下面代码,表示动态Java编译路径(后面尖括号自行补上 因为发布后面再带尖括号该段内容会被隐藏)
<property name=“dynamic.classpath” value=“true” /