Idea启动Java报错Shorten command line
# 问题描述
启动控制台报错: Command line is too long. Shorten command line for SpringBootMainApplication or also for Application
Error running 'SpringBootMainApplication': Command line is too long. Shorten command line for SpringBootMainApplication or also for Application default configuration.
# 解决方案:
修改项目下 .idea\workspace.xml
找到标签 <component name="PropertiesComponent">
。在标签里加一行 :
<property name="dynamic.classpath" value="true" />
1
# 参考资料
https://blog.csdn.net/weixin_42941486/article/details/105784849
更新时间: 12/4/2022, 6:55:46 PM