incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthieu Morel <mmo...@apache.org>
Subject Re:
Date Fri, 08 Jun 2012 08:57:13 GMT
That's not really an S4 question but rather a java question. Make sure 
you have your classpath correctly configured. And make sure you read the 
instructions for S4 in detail, and start by mimicking the existing projects.

Matthieu

On 6/8/12 10:50 AM, ramchalam kr wrote:
> I was able to compile and create the jar files. But while running the
> S4WordCount application , am getting the following error
>
> ~/s4$ java TestMessageSender localhost 2334 RawWords test.s4.Word
> Exception in thread "main" java.lang.NoClassDefFoundError: TestMessageSender
> Caused by: java.lang.ClassNotFoundException: TestMessageSender
> at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
> Could not find the main class: TestMessageSender. Program will exit.
>
>
> On Fri, Jun 8, 2012 at 2:13 PM, Matthieu Morel <mmorel@apache.org
> <mailto:mmorel@apache.org>> wrote:
>
>     On 6/8/12 9:29 AM, ramchalam kr wrote:
>
>         Hello
>         Am a starter and am trying to run the s4 application speech01
>         In that by default all the .class files of the java program are
>         there.
>         But when i try to compile the java programs separately in
>         eclipse, am
>         getting errors in import and package. In this case
>         package io.s4.example.speech01;
>
>         import io.s4.processor.AbstractPE;
>
>         So am not able to compile the program. I have added the .jar
>         files and
>         yet it seems to show the same error..
>
>
>     Try: "./gradlew eclipse" at the root of the S4 project.
>
>     Also, you should add a topic to your questions!
>
>     Hope this helps,
>
>     Matthieu
>
>
>


Mime
View raw message