2013-07-22 73 views
0

我試圖運行我的嵌入式Tomcat應用程序和我收到以下錯誤:嵌入式的Tomcat:找不到春天NamespaceHandler對XML架構命名空間

BeanDefinitionParsingException: 
Configuration problem: 
Unable to locate Spring NamespaceHandler for XML schema namespace 
[http://www.springframework.org/schema/tx] 
Offending resource: ServletContext resource [/WEB-INF/applicationContext.xml] 

我非常有信心,我正確地所擁有的一切在我的類路徑 - 你可以看到tx/transaction/

$ jar tf webapp.jar | grep 'springframework/[a-z]*/$' 
org/springframework/cache/ 
org/springframework/context/ 
org/springframework/ejb/ 
org/springframework/format/ 
org/springframework/instrument/ 
org/springframework/jmx/ 
org/springframework/jndi/ 
org/springframework/remoting/ 
org/springframework/scheduling/ 
org/springframework/scripting/ 
org/springframework/stereotype/ 
org/springframework/ui/ 
org/springframework/validation/ 
org/springframework/aop/ 
org/springframework/asm/ 
org/springframework/beans/ 
org/springframework/core/ 
org/springframework/util/ 
org/springframework/expression/ 
org/springframework/orm/ 
org/springframework/jdbc/ 
org/springframework/dao/ 
org/springframework/jca/ 
org/springframework/transaction/ 
org/springframework/web/ 
org/springframework/mail/ 
org/springframework/http/ 
org/springframework/mock/ 

我不明白的是,在運行IntelliJ IDEA的應用程序是否運行正常並部署到Tomcat服務器上。

可能是什麼問題?我應該在哪裏看?謝謝。

回答

相關問題