Intellij IDEA运行报错:Command line is too long
作者:互联网
报错内容:
Error running 'XXXXXXXX': Command line is too long. Shorten command line for ServiceStarter or also for Application default configuration.
解决方法一:
找到项目下的 .idea\workspace.xml文件中的标签 <component name="PropertiesComponent"> , 在其中添加一行 <property name="dynamic.classpath" value="true" />
解决方法二:
Run----Edit Configurations----在Configuration标签页中展开Environment----Shorten command line,将选项从user-local default: JAR manifest改为JAR manifest
标签:Intellij,Shorten,IDEA,long,----,报错,too,line 来源: https://blog.csdn.net/iflwx/article/details/113747197