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

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

 在controller中无法引入该module的class

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

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

原文地址:https://www.cnblogs.com/webttt/p/11646551.html