Hi all,
 
i tried to compile and test the InterestClient.java in the Jboss documentation
The files were compiled successfully but in execution showed errors as:
 
C:\examples\build>ant intro-interest-deploy
Buildfile: build.xml
 
validate-servlet:
 
validate-jboss:
 
fail_if_not_valid:
 
init:
     [echo] Using JBoss directory=C:\jboss_tomcat
     [echo] Using base classpath=C:\jboss_tomcat\client\jboss-j2ee.jar;C:\jboss_
tomcat\client\jaas.jar;C:\jboss_tomcat\client\jbosssx-client.jar;C:\jboss_tomcat
\client\jboss-client.jar;C:\jboss_tomcat\client\jnp-client.jar;C:\jboss_tomcat\c
atalina\common\lib\servlet.jar
     [echo] Using Source directory=C:\examples
     [echo] Using Build directory=C:\examples/build-examples
 
intro-interest-client:
 
compile:
 
interest-client:
     [java] Got context
     [java] Got reference
     [java] java.lang.NoClassDefFoundError: org/jboss/logging/Logger
     [java]     at org.jboss.invocation.MarshalledValueInputStream.<clinit>(Mars
halledValueInputStream.java:25)
     [java]     at java.lang.Class.forName0(Native Method)
     [java]     at java.lang.Class.forName(Class.java:120)
     [java]     at org.jboss.invocation.MarshalledValueOutputStream.class$(Marsh
alledValueOutputStream.java:26)
     [java]     at org.jboss.invocation.MarshalledValueOutputStream.<clinit>(Mar
shalledValueOutputStream.java:28)
     [java]     at org.jboss.invocation.MarshalledValue.<init>(MarshalledValue.j
ava:47)
     [java]     at org.jboss.invocation.MarshalledInvocation.writeExternal(Marsh
alledInvocation.java:317)
     [java]     at java.io.ObjectOutputStream.outputObject(ObjectOutputStream.ja
va:1172)
     [java]     at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.jav
a:366)
     [java]     at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:268)
     [java]     at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:106)
     [java]     at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unkn
own Source)
     [java]     at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(
JRMPInvokerProxy.java:128)
     [java]     at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterce
ptor.java:108)
     [java]     at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInte
rceptor.java:73)
     [java]     at org.jboss.proxy.SecurityInterceptor.invoke(SecurityIntercepto
r.java:76)
     [java]     at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.ja
va:185)
     [java]     at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:7
6)
     [java]     at $Proxy0.create(Unknown Source)
     [java]     at org.jboss.docs.interest.InterestClient.main(InterestClient.ja
va:39)
     [java] Exception in thread "main"
     [java] Java Result: 1
 
BUILD SUCCESSFUL

all of the classpaths already in the build.xml, why got [java] java.lang.NoClassDefFoundError???

please help..
zhihai

______________________________________________________
 
Xian Zhi Hai (Software Engineer) Exubient E-payments.
50, Collyer Quay, #08-01, Overseas Union House.
Singapore 049321.
Tel (65) 224.2639 . Fax (65) 224.2637 .
email : [EMAIL PROTECTED]  url : www.exubient.com

Reply via email to