报错:java.lang.NoClassDefFoundError: org/apache/storm/topology/IRichSpout
The reason: idea of bug: set the scope for the local operation when provided, will result not find dependencies.
<-!
The Test
Provided compiled when needed, not when packaged,
IDEA's bug: When running this package can not find below all the classes
compile
by default
->
<- run locally commented, packaged cluster! open run ->
<-! <scope> Provided </ scope> ->