报错信息
Error running DataMing01. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.
翻译为:
Error running DataMing01.
运行DataMing01出错。
Command line is too long.
命令行太长。
Shorten the command line via JAR manifest or via a classpath file and rerun.
通过JAR清单或通过类路径文件缩短命令行并重新运行。
解决办法
- 点击“Edit Configurations”
- 选择左侧的启动失败的项目,点击右侧“Modify options”
- 勾选“shorten command line”
- Shorten command line选择“JAR manifest”,点击“Apply”生效即可