今天启动项目报错:Command line is too long. Shorten command line for XXXApplication or also for Spring Boot default configuration.
打开.idea中的workspace.xml
找到标签<component name="PropertiesComponent">
在其中添加标签
<property name="dynamic.classpath" value="true" />
重新运行项目即可。