信息:从类路径资源[spring-app.xml]加载XML bean定义
线程“main”中的异常org.springframework.beans.factory.parsing.BeanDeFinitionParsingException:配置问题:无法找到XML架构命名空间的Spring NamespaceHandler [http://www.springframework.org/schema/jms]
违规资源:类路径资源[spring-app.xml]
我的spring-app.xml如下:
spring-beans.xsd
http://www.springframework.org/schema/tx
http://www.springframework.org/schema/tx/spring-tx.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context.xsd
http://www.springframework.org/schema/jms
http://www.springframework.org/schema/jms/spring-jms.xsd">
fig.PropertyPlaceholderConfigurer">
ssprovesbjms01.gmtl.viasat.com:1099diobjectfactorybean">
jmstemplate" class="org.springframework.jms.core.jmstemplate">
而我的pom如下:
hornetq-listenerhornetq-listener.sourceEncoding>UTF-8.sourceEncoding>
<hornetq.version>2.3.13.Finalhornetq.version>
fig_DIR>/etc/viasat/vtb/ fig_DIR>
cope>testcope>
spring-beansspring-expressionspring-ormhornetqhornetq-commonshornetq.version}hornetqhornetq-core-clienthornetq.version}hornetqhornetq-jms-clienthornetq.version}slf4j-apifiguration>
最佳答案