Error running Application. Command line is too long. Shorten the command line via JAR manifest or vi
程序员文章站
2022-04-15 18:06:38
...
https://blog.csdn.net/weixin_43689480/article/details/100983585
在component 标签里加一行
<property name="dynamic.classpath" value="true" />
原因:
评论老哥:
这个选项控制类路径如何传递到JVM:通过命令行,或者通过文件。大多数操作系统都有最大的命令行限制,当超过此限制时,IDEA将无法运行您的应用程序。 当命令行长度超过32768个字符时,IDEA建议您切换到动态类路径。长类路径被写入一个文件,然后由应用程序启动器读取并通过系统类加载器加载。 如果您对实现细节感兴趣,可以查看IDEA Community edition源代码、JdkUtil.java文件、setupJVMCommandLine方法。
上一篇: CloneNotSupportedException解决方法
下一篇: extjs乱码解决方法
推荐阅读
-
Error running Application. Command line is too long. Shorten the command line via JAR manifest or vi
-
Error running ‘LineTest.test‘: Command line is too long. Shorten command line for LineTest.test or a
-
Error running ‘xxx‘: Command line is too long. Shorten command line for xxx or also for Application
-
Error running 'MessageSendApp': Command line is too long. Shorten command line forMessageSendApp
-
IDEA启动项目时报错:Error running 'Application': Command line is too long. Shorten command line for Applicat
-
Error running ‘LocalTest‘: Command line is too long. Shorten command line for LocalTest or also for…
-
Error running ‘******Api‘: Command line is too long. Shorten command line for ******Api or also for
-
【异常】启动报错Error running ‘Application‘: Command line is too long. Shorten command line for Spring
-
Error running 'App': Command line is too long. Shorten command line for App