问题描述:
运行Application时,IDEA提示:“Error running 'xxxApplication': Command line is too long. Shorten the command line via JAR manifest or via a classpath file and rerun.”
解决方案:通过编辑“xxxApplication”的配置来解决。
1、选择“Edit Configuration”
2、选择“Modify Options”
3、在弹出的界面中选择“Short command line”
4、在“Short command line”的下拉框中选择 JAR manifest 或者 classpath file 选项,点击“OK”后,重新运行工程运行即可。