idea运行 Application 时出错。命令行过长。 通过 JAR 清单或通过类路径文件缩短命令

Idea 中出现:运行 Application时出错。命令行过长。 通过 JAR 清单或通过类路径文件缩短命令行,然后重新运行。
在项目的 .idea 目录下的 workspace.xml 中的

一、可能是以下样式

 <component name="PropertiesComponent"><![CDATA[{
  "keyToString": {
    "RunOnceActivity.OpenProjectViewOnStart": "true",
    "RunOnceActivity.ShowReadmeOnStart": "true",
    "WebServerToolWindowFactoryState": "false",
    "node.js.detected.package.eslint": "true",
    "settings.editor.selected.configurable": "MavenSettings",
    "spring.configuration.checksum": "b68eddc20618f0021d9e6631a68262d2"
  }
}]]></component>

添加以下内容:

"dynamic.classpath": "true"

最终展示

 <component name="PropertiesComponent"><![CDATA[{
  "keyToString": {
    "RunOnceActivity.OpenProjectViewOnStart": "true",
    "RunOnceActivity.ShowReadmeOnStart": "true",
    "WebServerToolWindowFactoryState": "false",
    "node.js.detected.package.eslint": "true",
    "settings.editor.selected.configurable": "MavenSettings",
    "spring.configuration.checksum": "b68eddc20618f0021d9e6631a68262d2",
    "dynamic.classpath": "true"
  }
}]]></component>

二、 也可能是以下样式

 <component name="PropertiesComponent">
    <property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
    <property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
    <property name="settings.editor.selected.configurable" value="project.propCompiler" />
  </component>

添加一个新的属性:

<property name="dynamic.classpath" value="true" />
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值