idea 报错Error running 'XXXXApplication': Command line is too long. Shorten command line fo

最近在使用idea 时想尝试使用下新版本,所以下载了个 IntelliJ IDEA 2021.1.3 (Ultimate Edition) 新版本尝尝鲜,首先看下启动时的图片,如图:

idea 报错Error running 'XXXXApplication':  Command line is too long. Shorten command line fo

 

 

idea 这每一版的颜值都很哇塞啊,

但是在使用的时候犯难了,我在导入以前工程启动时总会报如下错误:

idea 报错Error running 'XXXXApplication':  Command line is too long. Shorten command line fo

 

总会报这个错,然后点进去default 时想看看以前那个设置 “ Shorten command line” 的地方,找了半天没找到,这是 idea 2021  版本之前设置时的截图(我从别处盗的)idea 报错Error running 'XXXXApplication':  Command line is too long. Shorten command line fo

 

 这是现在点default的截图:

idea 报错Error running 'XXXXApplication':  Command line is too long. Shorten command line fo

 

 

 

咋一看发现“ Shorten command line” 没见了,忽然懵逼了我,我在想这次 idea 玩的有些大啊,这个设置都不见了,后来点了下上面的“Environment” 最终还是让我发现了,如图:

idea 报错Error running 'XXXXApplication':  Command line is too long. Shorten command line fo

 

 然后熟悉的设置一下,JAR manifest

idea 报错Error running 'XXXXApplication':  Command line is too long. Shorten command line fo

 

然后问题顺利解决O(∩_∩)O哈哈~

 

上一篇:文本超出转省略号


下一篇:R语言使用dplyr聚合统计分组数据、ggplot2可视化分组线图、使用geom_line函数自定义设置线条类型、粗细、颜色(Change line types + colors by groups)