Failed to load ApplicationContext

主要错误信息:
java.lang.IllegalStateException: Failed to load ApplicationContext

Caused by: org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/tx]
Offending resource: class path resource [applicationContext.xml]

 

解决方法 :spring的jar包版本要和namespace中XSD版本对应

Failed to load ApplicationContext

 

Failed to load ApplicationContext

 在pom.xml文件中改变jar的版本号

Failed to load ApplicationContext

 

最终解决

Failed to load ApplicationContext

 

Failed to load ApplicationContext

上一篇:1、Android-活动


下一篇:android 使用Canvas画箭头