Assuming you are using the code from the GIT repo, including the storm-starter.
The most likley reason IntelliJ can’t see it, is because storm-core is excluded in the POM.XML file from being included during build. It isn’t even finding the classes. Look in the POM.XML file, find the part for storm-core, and comment out the part that says “Provided” IntelliJ can then compile and run it correctly for local cluster. Regards Mark. On Apr 16, 2014, at 5:36 PM, Milinda Pathirage <[email protected]> wrote: > You may need to build the storm-starter jar and run it in the command line. > > Thanks > Milinda > > On Wed, Apr 16, 2014 at 10:28 AM, Milinda Pathirage > <[email protected]> wrote: >> Hi, >> >> Sorry for the wrong info. Class is there. But Idea project can't see >> it because its a clojure implementation. >> >> Milinda >> >> On Wed, Apr 16, 2014 at 10:20 AM, Milinda Pathirage >> <[email protected]> wrote: >>> I think you see this because LocalCluster class is no longer there in >>> storm-core. At least I can't see it my latest source tree and github >>> source tree. But I am not sure why this is removed and why >>> LocalCluster is still used in storm-starter. >>> >>> Thanks >>> Milinda >>> >>> On Wed, Apr 16, 2014 at 7:15 AM, Vicente Hidalgo >>> <[email protected]> wrote: >>>> Hi. I`m new in the storm world. >>>> I`ve been 2 days trying to run the storm-starter project in intellij >>>> (following the guide in github >>>> https://github.com/apache/incubator-storm/tree/master/examples/storm-starter >>>> ) >>>> When running any of the topologies i get an error: >>>> >>>> Error:(21, 22) java: >>>> /Users/chente/Dropbox/PFC/incubator-storm-master/examples/storm-starter/src/jvm/storm/starter/TransactionalGlobalCount.java:21: >>>> cannot find symbol >>>> symbol : class LocalCluster >>>> location: package backtype.storm >>>> >>>> Why is this class missing? How can i fix it? >>>> >>>> Thanks >>>> >>>> -- >>>> Vicente Hidalgo >>>> >>> >>> >>> >>> -- >>> Milinda Pathirage >>> >>> PhD Student | Research Assistant >>> School of Informatics and Computing | Data to Insight Center >>> Indiana University >>> >>> twitter: milindalakmal >>> skype: milinda.pathirage >>> blog: http://milinda.pathirage.org >> >> >> >> -- >> Milinda Pathirage >> >> PhD Student | Research Assistant >> School of Informatics and Computing | Data to Insight Center >> Indiana University >> >> twitter: milindalakmal >> skype: milinda.pathirage >> blog: http://milinda.pathirage.org > > > > -- > Milinda Pathirage > > PhD Student | Research Assistant > School of Informatics and Computing | Data to Insight Center > Indiana University > > twitter: milindalakmal > skype: milinda.pathirage > blog: http://milinda.pathirage.org
