IDEA 启动 Java 项目报错 “Error running 'app':

IDEA 启动 Java 项目报错 “Error running 'app': Command line is too long. Shorten command line for app or also for Spring Boot default configuration.”

解决方法:

在该项目文件夹 .idea/workspace.xml 中找到

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

然后在其中添加:

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

原文地址:https://www.cnblogs.com/kjgym/p/12515604.html