0 Replies Latest reply on Jul 11, 2002 9:21 PM by ron alexander

    org/apache/log4j

    ron alexander Newbie

      I am trying the interest example and am getting java.lang.NoClassDefFoundError: org/apache/log4j/Priority

      While I have seen this topic posted, none of the answers worked for me. Any ideas?

      Thanks in advance.

      Ron

      Stack:
      Buildfile:build.xml
      validate-servlet:
      validate-jboss:
      fail_if_not_valid:
      init:
      [echo] Using JBoss directory=/usr/jboss
      [echo] Using base classpath=/usr/jboss/client/jboss-j2ee.jar:/usr/jboss/client/jaas.jar:/usr/jboss/client/jbossx-client.jar:/usr/jboss/client/jboss-client.jar:/usr/jboss/client/jnp-client.jar:/usr/jboss/client/jboss-common-client.jar:/usr/catalina/common/lib/servlet.jar
      [echo] Using Source directory=/tmp/examples
      [echo] Using Build directory=/tmp/examples/build-examples
      intro-interest-client
      compile:
      interest-client:
      [java] Got context
      [java] Got reference
      [java] Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Priority
      [java] at org.jboss.invocation.MarshalledValueInputStream.(MarshalledValueInputStream.java:25)
      [java] at java.lang.Class.forName()(Native Method)
      [java] at java.lang.Class.forName(Class.java:130)
      [java] at org.jboss.invocation.MarshalledValueOutputStream.class$(MarshalledValueOutputStream.java:26)
      [java] at org.jboss.invocation.MarshalledValueOutputStream.(MarshalledValueOutputStrea.java:28)
      [java] at org.jboss.invocation.MarshalledValue.(MarshalledValue.java:47)
      [java] at org.jboss.invocation.MarshalledInvocation.writeExternal(MarshalledInvocation.java:317)
      [java] at java.io.ObjectOutputStream.writeExternalData(ObjectOutputStream.java:1262)
      [java] at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1243)
      [java] at java.io.ObjectOutputStream.writeObject()(OjbectOutputStream.java:1052)
      [java] at java.io.ObjectOutputStream.writeObject(OjbectOutputStream.java:278)
      [java] at sun.rmi.server.UnicastRef.marshalValue(UnicastRef.java:265)
      [java] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:124)
      [java] at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
      [java] at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:128)
      [java] at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:108)
      [java] at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:73)
      [java] at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:76)
      [java] at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:185)
      [java] at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:76)
      [java] at $Proxy().create(Unknown Source)
      [java] at org.jboss.docs.interest.InterestClient.main(InterestClient.java:39)
      [java] Java Result: 1

      BUILD SUCCESSFUL