解决:IDEA中报错 “Error running ‘Application‘: Command line is too long.“ 的解决办法

1、报错的信息:

A、报此时显示报错的全名称为:
Error running 'Application': Command line is too long. Shorten command line for Application or also for Spring Boot default configuration.

B、此时在 IDEA 中页面的展示为:
在这里插入图片描述

2、解决方案:

A、首先找到 .idea/libraies/workspace.xml 中的 <component name="PropertiesComponent">,此时的页面显示为:
在这里插入图片描述
B、需要的操作为:
在该组件中添加代码为:<property name="dynamic.classpath" value="true" />
即,此时的页面展示为:
在这里插入图片描述
C、此时在IDEA中就不再报错,此时就解决了该问题;

3、小结:

其一、哪里有不对或不合适的地方,还请大佬们多多指点和交流!
其二、有兴趣的话,可以多多关注这个专栏(Vue面试必备专栏):**https://blog.csdn.net/weixin_43405300/category_11525646.html?spm=1001.2014.3001.5482**


版权声明:本文为weixin_43405300原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。