美文网首页
IDEA 导入木块 Cannot access org.spri

IDEA 导入木块 Cannot access org.spri

作者: MrSmiling | 来源:发表于2020-12-14 23:20 被阅读0次

Cannot access org.springframework.context.ConfigurableApplicationContext:

删除模块.iml文件

刷新一下

如果找不到Maven这个tab

弹出的搜索框中搜索Maven

如果:删除后模块 pom变成了灰色并有删除线

.添加模块的pom

2.选中pom

成功!

如果有父模块还要修改模块的pom.xml,修改parent标签。

父pom中添加新模块的module标签

相关文章

网友评论

      本文标题:IDEA 导入木块 Cannot access org.spri

      本文链接:https://www.haomeiwen.com/subject/kkqigktx.html