JavaAPI run storm of error

报错: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> ->

 

Guess you like

Origin www.cnblogs.com/mediocreWorld/p/11240852.html