idea运行报错Error running ‘Application’: Command line is too long的解决方法

新项目在Idea里面启动的时候,有的时候报错Error running ‘Application’: Command line is too long. Shorten command line for Application or aalso for Spring Boot default configuration,报错信息如下所示
在这里插入图片描述这个问题如何解决呢?首先找到,项目里面的idea/workspace.xml文件,如下所示。在这里插入图片描述其次再找到<component name="PropertiesComponent"></component >标签,如下所示。在这里插入图片描述然后再在component 标签里加一行 <property name="dynamic.classpath" value="true" />,如下所示。在这里插入图片描述最后再重新启动项目。就不会报错了。

如果帮助到了您,麻烦关注,点赞,收藏,三连。
您的肯定,是我的动力。祝中华民族早日复兴!谢谢大家。
؏؏☝ᖗ乛◡乛ᖘ☝؏؏

Guess you like

Origin blog.csdn.net/weixin_39434182/article/details/106351704