报错信息大概如下:
Error running 'xxx':
Command line is too long. Shorten command line for xxx or also for Application default configuration.解决方案(1): 找到项目下的.idea/workspace.xml,在标签<component name="PropertiesComponent">里添加一行属性:<property name="dynamic.classpath" value="true" />
<component name="PropertiesComponent">
其它属性不改
<property name="dynamic.classpath" value="true" />
</component>解决方案(2):
打开程序的运行配置,把Shorten command line改为JAR manifest或classpath file,如图所示:

欢迎访问南瓜慢说 www.pkslow.com获取更多精彩文章!
欢迎关注微信公众号<南瓜慢说>,将持续为你更新...

多读书,多分享;多写作,多整理。
版权声明:本文为dengnanhua原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。