incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "唐装鼠" <>
Subject NoClassDefFoundError
Date Wed, 05 Jun 2013 09:10:10 GMT
Hi,I build a java project.when it runs in cluster of 4 nodes,only one node works well while
the other 3 nodes runs with below error:

 02:04:04.894 [itoa] ERROR org.apache.s4.core.S4Node - Uncaught exception in thread itoa
java.lang.NoClassDefFoundError: Could not initialize class org.jnetpcap.packet.PcapPacket
        at hello.AbstractPE.onEvent( ~[fishApp.jar:unspecified]
        at OverloadDispatcher2409.dispatchEvent(Unknown Source) ~[na:na]
        at org.apache.s4.core.ProcessingElement.handleInputEvent(
        at org.apache.s4.core.Stream$ ~[s4-core-0.6.0-incubating.jar:0.6.0-incubating]
        at org.apache.s4.comm.staging.BlockingThreadPoolExecutorService$
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
        at ~[na:1.7.0_17]

The .jar file which includes PcapPacket class  is exactly in the lib directory.However,it
still says NoClassDefFoundError.
I guess java configuration is wrong in the other 3 machines.But I don't konw where is wrong
exactly.Can someone help me?
Thanks very much.
View raw message