idea启动报错-Command line is too long. Shorten command line for or also for Spring Boot default

今天启动项目时,点击启动就报错了,以下是完整报错原因:

Error running ‘TdPluginPersonProgramManageApplication’: Command line is too long. Shorten command line for XXXX项目名 or also for Spring Boot default configuration.
idea启动报错-Command line is too long. Shorten command line for or also for Spring Boot default

解决方案:
找到你的项目.idea文件下边的workspace.xml,

idea启动报错-Command line is too long. Shorten command line for or also for Spring Boot default
找到 <component name="PropertiesComponent"> </component> 添加如下:
<property name="dynamic.classpath" value="true" /> 就OK了
idea启动报错-Command line is too long. Shorten command line for or also for Spring Boot default