@参考文章

首先是spring.xml中引用地址错误,部分http://***写成https://***了。

其次是spring.xml中引入的版本不对,我用的4.1.3的,直接写

http://www.springframework.org/schema/beans/spring-beans-4.1.3.xsd 

这样是错误的,因为查看spring-beans-4.1.3.RELEASE.jar\META-INF/spring.schemas发现只到n.n,不到n.n.n

关于spring项目报错:找不到元素 'beans' 的声明的解决办法

 

相关文章:

  • 2021-06-28
  • 2022-12-23
  • 2022-01-01
  • 2022-12-23
  • 2021-05-10
  • 2021-05-23
  • 2021-07-04
猜你喜欢
  • 2021-04-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-10
相关资源
相似解决方案