Error submitting Topologies by storm

< H2 > question < / H2 >

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,
clipboard.png

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.

Mar.04,2021

when storm is packaged, there is no need to enter the storm-core package to start

there is no problem with setting < scope > provided < / scope >. Check to see if there are still storm-core packages in the package dependencies you typed.

Menu