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

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

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

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

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

猜你喜欢

转载自www.cnblogs.com/huozhonghun/p/9451569.html
今日推荐