Intellij IDEA运行项目时,报错:Error running ‘App’: Command line is too long. Shorten command line for App
解决方案:修改项目目录下的 .idea\workspace.xml,


找到标签 <component name="PropertiesComponent">
在标签内加一行 <property name="dynamic.classpath" value="true" />
解决IntelliJ IDEA命令行过长问题
本文介绍了解决IntelliJ IDEA运行项目时报错“命令行过长”的方法,通过修改workspace.xml文件中PropertiesComponent标签,添加一行设置dynamic.classpath为true,从而解决该问题。
Intellij IDEA运行项目时,报错:Error running ‘App’: Command line is too long. Shorten command line for App
解决方案:修改项目目录下的 .idea\workspace.xml,


找到标签 <component name="PropertiesComponent">
在标签内加一行 <property name="dynamic.classpath" value="true" />
3105
7885
1万+
7118

被折叠的 条评论
为什么被折叠?