Could you check your classpath of execution and see there's only one
storm-core, and also proper version of storm-core is loaded to classpath?
And also check that all storm modules you reference are all same versions.

2016년 10월 16일 (일) 오후 7:46, Snabel Kabiya <snabel.kab...@ruckuswireless.com>님이
작성:

> Hi,
>
>
>
> Thank you.
>
>
>
> But that was the first thing I’ve changed…I’m still getting this error…
>
>
>
>
>
>
>
>
>
> *From:* Jungtaek Lim [mailto:kabh...@gmail.com]
>
> *Sent:* Friday, October 14, 2016 11:04 PM
>
> *To:* user@storm.apache.org
> *Subject:* Re: Localcluster - ELK Bolt Example
>
>
>
> 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 <snabel.kab...@ruckuswireless.com
> >님이 작성:
>
> 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:kabh...@gmail.com]
> *Sent:* Monday, October 10, 2016 6:32 AM
> *To:* user@storm.apache.org
> *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 <snabel.kab...@ruckuswireless.com>
> 님이 작성:
>
> 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
>
>
>
>

Reply via email to