idea maven的pom文件已导入依赖,但是无法引入该包中class

现象:pom 文件中引入其他module依赖

 

 在controller中无法引入该module的class

解决办法:在添加新的依赖后,工程右击--Maven--Reimport

 

参考链接:https://blog.csdn.net/qq_35181209/article/details/80740363?utm_source=blogxgwz3

posted on 2019-10-10 10:55  七七2020  阅读(10131)  评论(0编辑  收藏  举报

导航