Error running 'xxx':
Command line is too long. Shorten command line for xxx or also for Application default configuration.
解决方案一
在项目下的.idea/workspace.xml 中 <component name=“PropertiesComponent”> 标签下加入 <property name=“dynamic.classpath” value=“true” />
如下:
解决方案二
打开程序的运行配置,把Shorten command line改为JAR manifest或classpath file,如图所示: