Error running ‘JnpfApplication’ Error running JnpfApplication. Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.
这个错误通常是由于命令行过长导致的。
解决办法
:
点击 JAR manifest
点击 JAR manifest
后,idea 通过 JAR 清单文件缩短命令行
可以将一些命令行参数移到清单文件中进行配置。这样可以减少直接在命令行上传递的参数长度。