Error running ‘******Api’: Command line is too long. Shorten command line for ******Api or also for Spring Boot default configuration.
出现报错
Error running '******Api': Command line is too long. Shorten command line for ******Api or also for Spring Boot default configuration.
查找原因是由于项目启动参数过长导致
解决方法
修改项目中的 .idea/workspace.xml文件中的属性
<component name="PropertiesComponent">
******
<property name="dynamic.classpath" value="true" />
******
</component>
可解决问题