首页 > 技术文章 > idea maven的pom文件已导入依赖,但是无法引入该包中class

webttt 2019-10-10 10:55 原文

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

 

 在controller中无法引入该module的class

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

 

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

推荐阅读