examples can't succes submit to cluster
chenxubai opened this issue · 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"
Add this to your maven Repo:
dependecy
groupId - org.apache.activemq
artifactId - activemq-spring
version - 5.8.0
Hope this helps...