storm applications built through maven work well in ide. Error occurred when submitting local storm services after packaging
when pom"s scop is configured with provided,
storm error message is
after package submission.Found multiple defaults.yaml resources. You"re probably bundling the Storm jars with your topology jar
when the scop of pom is not configured, an error is reported
java.lang.NoClassDefFoundError: backtype/storm/topology/IRichSpout
tried
the solution to the two problems of google is the scop configuration of pom.xml, and then the above problems occur respectively.