解决方法(推荐):idea点击 Run -> Edit Configurations 下拉选择JAR manifest

成功解决Error running ‘Application‘: command line is too long_maven

成功解决Error running ‘Application‘: command line is too long_java_02

开始是没有这个选项的,点击Modify options 
点击shorten command line

成功解决Error running ‘Application‘: command line is too long_解决方法_03

选择JAR manifest

成功解决Error running ‘Application‘: command line is too long_解决方法_04