storm-jms icon indicating copy to clipboard operation
storm-jms copied to clipboard

examples can't succes submit to cluster

Open chenxubai opened this issue 10 years ago • 1 comments

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"

chenxubai avatar May 08 '14 01:05 chenxubai

Add this to your maven Repo:

dependecy groupId - org.apache.activemq artifactId - activemq-spring version - 5.8.0

Hope this helps...

sekharrockz avatar Jun 22 '15 09:06 sekharrockz