java spring boot idea启动报错 Command line is too long

idea启动报错,错误信息:

Error running Application. Command line is too long.

Shorten the command line via JAR manifest or via a classpath file and rerun.

解决方法:

  • 点击“Edit Configurations”

java spring boot idea启动报错 Command line is too long_第1张图片

  • 选择左侧的启动失败的项目,点击右侧“Modify options”

java spring boot idea启动报错 Command line is too long_第2张图片

  • 勾选“shorten command line”

java spring boot idea启动报错 Command line is too long_第3张图片

  • Shorten command line选择“JAR manifest”,点击“Apply”生效即可

java spring boot idea启动报错 Command line is too long_第4张图片

你可能感兴趣的:(intellij-idea,java,ide)