解决: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**

评论 32
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

狮子座的男孩

如果可以,请我喝杯咖啡吧!

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值