Idea以debug方式启动时报错 Command line is too long

错误描述信息

1
Error running 'SaleAdminApplication': Command line is too long. Shorten command line for SaleAdminApplication or also for Spring Boot default configuration.

这个错误信息在run运行方式不出现,在debug的运行方式才会出现

解决办法

使用编辑器打开工作目录下的文件 —> .idea\workspace.xml

找到标签

1
<component name="PropertiesComponent">

标签中添加内容

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

如果本文对你有所帮助,请赏我1个铜板买喵粮自己吃,您的支持是我最大的动力!!!