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 09:13:32 GMT
On 6/8/12 11:07 AM, ramchalam kr wrote:
> Am sorry am new to s4 .
> We should give the path for the class file TestMessageSender  and then
> try to run the command.?

Please read the manual, and please read the tips for email contributors: 
http://www.apache.org/dev/contrib-email-tips.html

Thanks!

Matthieu

>
>
> On Fri, Jun 8, 2012 at 2:27 PM, Matthieu Morel <mmorel@apache.org
> <mailto:mmorel@apache.org>> wrote:
>
>     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>
>         <mailto: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