解决idea在运行前报错内容Command line is too long…,无法运行问题
报错的内容是:Error running XXX: Command line is too long. Shorten command line for XXX or also for Application default configuration.
在项目这个位置找到workspace.xml,找到这个标签
// An highlighted block
<component name="PropertiesComponent">
往标签里面添加一行如下
// An highlighted block
<property name="dynamic.classpath" value="true" />
解决IDEA命令行过长无法运行问题
当IDEA运行项目时遇到'Commandline istoo long'错误,可以通过修改workspace.xml配置解决。在<component name='PropertiesComponent'>中添加<property name='dynamic.classpath' value='true'/>,启用动态类路径,从而避免命令行长度限制。
2097

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



