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

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

 

 在controller中无法引入该module的class

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

 

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

相关文章: