0
点赞
收藏
分享

微信扫一扫

IDEA运行报Command line is too long问题笔记

窗外路过了谁 2022-02-18 阅读 73

报错信息如下:

Error running 'XXX': Command line is too long. Shorten command line for XXXX or also for Spring Boot default configuration.

解决方案(1):

找到项目下的.idea/workspace.xml,在标签<component name="PropertiesComponent">里添加一行属性:

<property name="dynamic.classpath" value="true" />

解决方案(2):

打开程序的运行配置,在Environment中把Shorten command line改为JAR manifestclasspath file,如图所示:

举报

相关推荐

0 条评论