idea maven项目运行时,启动类,启动不了,报错

 

首先找到项目工程里面的.idea/workspace.xml文件, 然后再找到<component name="PropertiesComponent"></component>标签, 标签如图所示:

 

idea maven项目运行时,启动类,启动不了,报错

然后再在component 标签中添加一行 <property name="dynamic.classpath" value="true" /> 如图:

 

或者删除idea文件,重新生成。

相关文章:

  • 2021-05-26
  • 2021-07-05
  • 2021-11-16
  • 2021-10-24
猜你喜欢
  • 2021-07-31
  • 2021-09-27
  • 2021-12-08
  • 2021-07-31
  • 2021-05-03
  • 2021-07-02
  • 2021-07-20
相关资源
相似解决方案