org.springframework.beans.factory.xml.XmlBeanDefinitionReader.setEnvironment(Lorg/springframework/co

谷歌半个小时也没找导解决方案。但估计应该是jar包版本有问题。于是点开Project里面的External Liabraries,发现spring相关的jar包版本基本都没问题,只有一个,一个jar包,spring-beans的版本竟然是3.0.5。。。坑爹。。。:

<!-- https://mvnrepository.com/artifact/org.springframework/spring-beans -->
<dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-beans</artifactId>
    <version>4.0.6.RELEASE</version>
</dependency>
再启动项目,搞定!

猜你喜欢

转载自blog.csdn.net/wtyicy/article/details/81363104
今日推荐