解决方法:
1、方法1


2、方法2
首先找到项目工程里面的.idea/workspace.xml文件,
然后再找到<component name="PropertiesComponent"></component>标签,
标签如图所示:
然后再在component 标签中添加一行
<property name="dynamic.classpath" value="true" />
如图:
保存后,再次启动项目即可成功运行了。
本文介绍了如何在项目工程的IDEA中修复workspace.xml文件,通过添加'dynamic.classpath'属性,确保项目成功运行的方法。
解决方法:


首先找到项目工程里面的.idea/workspace.xml文件,
然后再找到<component name="PropertiesComponent"></component>标签,
标签如图所示:
然后再在component 标签中添加一行
<property name="dynamic.classpath" value="true" />
如图:
保存后,再次启动项目即可成功运行了。

被折叠的 条评论
为什么被折叠?
