首页 > 技术文章 > idea 执行sprinboot 报错 commend line is too long

longsanshi 2020-11-03 18:48 原文

1.执行spingboot项目报错, commend line is too long

网上大多说:

解决方法:

在该项目文件夹.idea/workspace.xml中找到

<component name="PropertiesComponent">

  ...

</component>

然后在其中添加:

<property name="dynamic.classpath" value="true" />

问题得到解决。

2.报错的时候,idea提示了解决方法,点击进去,(注意,不同版本可能不一样,这个页面,下面是别人的图,我用的是2019.2,里面有一项好像叫做,environment xxx的,点击展开就能看到)

 

推荐阅读