ptgoetz / storm-jms

Storm JMS Integration
Apache License 2.0
78 stars 66 forks source link

examples can't succes submit to cluster #15

Open chenxubai opened 10 years ago

chenxubai commented 10 years ago

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"

sekharrockz commented 9 years ago

Add this to your maven Repo:

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

Hope this helps...