IDEA下:SpringBoot报错 Error running 'Application': Command line is too long. Shorten command line for Application or also for Spring Boot default configuration?

项目运行时,报错:(springboot项目启动命令过长)

Error running 'Application': Command line is too long. Shorten command line for Application or also for Spring Boot default configuration?

 

解决方案:

修改当前项目根目录下的 .idea\workspace.xml,找到标签 <component name="PropertiesComponent"> , 在标签里加一行  <property name="dynamic.classpath" value="true" />

posted @ 2021-07-27 17:01  Ajunboys  阅读(272)  评论(0编辑  收藏  举报