记录一个经常会遇到的问题。
Idea启动项目报错:Command line is too long
具体报错:
Error running 'SystemApplication': Command line is too long. Shorten command line for SystemApplication or also for Spring Boot default configuration.如下图所示:

解决办法:
在该项目文件夹下找到.idea/workspace.xml文件:找到
<component name="PropertiesComponent">
</component>
在这个标签内添加:
<property name="dynamic.classpath" value="true" />
如下图所示:

即可解决问题。
嘻嘻 ,今天也是认真工作的一天呢~
解决Idea启动项目报错: Commandline is too long
当使用IntelliJ IDEA启动项目时遇到'Commandline is too long'错误,可以通过编辑项目下的.idea/workspace.xml文件来解决。在<component name=PropertiesComponent></component>标签内添加<property name=dynamic.classpath value=true/>,这将允许IDE动态处理类路径,避免命令行过长的问题。
5649

被折叠的 条评论
为什么被折叠?



