明明项目没错误,但application.xml就报了错误,这是什么问题呢?

问题在于我们找不到org/springframework/beans/spring-beans这个包,也就是我们的spring-beans版本错了。

Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.xsd'

 查看相应的包,就可以知道我们的版本是哪个。

Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.xsd'

 然后再spring-beans后面加上我们对应的版本号,就不会出错了。

Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans.xsd'

相关文章:

  • 2021-11-26
  • 2021-10-03
  • 2021-11-10
  • 2022-12-23
  • 2021-12-24
猜你喜欢
  • 2021-09-30
  • 2022-12-23
  • 2021-06-27
  • 2021-06-03
  • 2022-12-23
  • 2022-12-23
  • 2021-09-17
相关资源
相似解决方案