Springboot项目启动报错:Command line is too long问题解决

发布时间:2024年01月24日

启动项目报错:Error running ‘xxxxxxxx’: Command line is too long. Shorten command line for ‘xxxxxxxx’ or also for Application default configuration

方法一

点击提示中的:default:然后在弹出窗口中选择:JAR xxxx xxx(该方法对本次启动配置生效,不影响其他服务)

方法二

修改文件夹.idea/workspace.xml (对该工程下所有服务生效)

?如果在idea的设置忽略掉了.idea目录,直接在项目路径的文件夹下找到这个目录也是一样的。
找到

<component name="PropertiesComponent"> </component>

然后在其中添加:

<property name="dynamic.classpath" value="true" />

然后再启动服务。

文章来源:https://blog.csdn.net/weixin_42672802/article/details/135814580
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。