0
点赞
收藏
分享

微信扫一扫

IntelliJ 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.


解决方案一

找到项目下的.idea/workspace.xml

在标签<component name="PropertiesComponent">里添加一行属性<property name="dynamic.classpath" value="true" />

<component name="PropertiesComponent">
<property name="dynamic.classpath" value="true" />
</component>

解决方案二

打开程序的运行配置,把Shorten command line改为JAR manifestclasspath file,如图所示

IntelliJ IDEA - Command line is too long_Command line is


举报

相关推荐

0 条评论