as title descrption , when submit with the jar "storm-jms-examples-0.1-SNAPSHOT-jar-with-dependencies.jar" , throw exception : "Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://activemq.apache.org/schema/core]
Offending resource: class path resource [jms-activemq.xml]"
this exception because of the content in activemq-core-5.4.0.jar/META-INF/spring-handlers file was override
consider use "maven-shade-plugin" replace "maven-assembly-plugin"
as title descrption , when submit with the jar "storm-jms-examples-0.1-SNAPSHOT-jar-with-dependencies.jar" , throw exception : "Exception in thread "main" org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://activemq.apache.org/schema/core] Offending resource: class path resource [jms-activemq.xml]"
this exception because of the content in activemq-core-5.4.0.jar/META-INF/spring-handlers file was override
consider use "maven-shade-plugin" replace "maven-assembly-plugin"