You need to check the scope of storm-core. This needs to be set to 'compile' for running with local, and needs be set to 'provided' for running with remote cluster.
2016년 10월 13일 (목) 오후 5:16, Snabel Kabiya <[email protected]>님이 작성: > Hi Jungtaek Lim, > > > > Thank you, I’ve tried doing that, then I went back to run Main in this Class: > EsIndexTopology > > > > I got the following exception: > > > > > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > org/apache/storm/topology/IRichSpout > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:264) > > at > com.intellij.rt.execution.application.AppMain.main(AppMain.java:123) > > Caused by: java.lang.ClassNotFoundException: > org.apache.storm.topology.IRichSpout > > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > > at > sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > > ... 3 more > > > > > > Regards, > > Snabel Kabiya > > > > *From:* Jungtaek Lim [mailto:[email protected]] > *Sent:* Monday, October 10, 2016 6:32 AM > *To:* [email protected] > *Subject:* Re: Localcluster - ELK Bolt Example > > > > The files which thrift generated are tricky. Please try `mvn clean install > -DskipTests` to root of Storm directory, and back to IDEA and see it helps. > > > > - Jungtaek Lim (HeartSaVioR) > > > > 2016년 10월 9일 (일) 오후 6:09, Snabel Kabiya <[email protected]> > 님이 작성: > > Hi Storm Users, > > > > My name is Snabel, I want to use storm as a solution for processing events. > > I Want to forward events from ELK to storm and add some code in storm. > > > > I’ve been trying to run the storm-starter code: > > https://github.com/apache/storm/tree/master/examples/storm-starter > > > > using Intellij IDEA, but I keep getting error about a missing class: > org.apache.storm.localcluster > > > > can you please help with this? am I using the right code? > > I would really appreciate your help with this > > > > > > Thanks, > > Snabel > > > >
