SSM-spring报错 无法访问 org.springframework.core.io.DefaultResourceLoader

  • Post author:
  • Post category:其他


IDE构建spring文件的时候报错,明明pom已经引入了依赖

无法访问 org.springframework.core.io.DefaultResourceLoader 找不到org.springframework.core.io.DefaultResourceLoader类文件

无法访问 org.springframework.core.io.DefaultResourceLoader 找不到org.springframework.beans.BeansException类文件

解决:

由于是项目子module,其他module已经引入了依赖,不懂为什么IDE,不会再去引入依赖到其他module中,因此,需要在配置里,手动添加依赖到你需要的哪个module下。



版权声明:本文为x18094原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。