Command line is too long. Shorten command line for Application CreateProcess error=206

Command line is too long. Shorten command line for Application

CreateProcess error=206, 文件名或扩展名太长

 

Stack Overflow上都是说Eclipse的坑,但是我本地用IntelliJ以及纯maven build都会遇到类似的错误。

Command line is too long. Shorten command line for Application CreateProcess error=206

Command line is too long. Shorten command line for Application CreateProcess error=206

这时候应该点击蓝色的链接,进入 Edit Configuration

Command line is too long. Shorten command line for Application CreateProcess error=206

修改command line为JAR manifest即可

Command line is too long. Shorten command line for Application CreateProcess error=206

转载于:https://my.oschina.net/u/921876/blog/2995478