3 Replies Latest reply on Oct 6, 2006 7:21 PM by Elias Ross

    I am getting Exception in thread "main" java.lang.NoClassDef

    ch_chetan Newbie

      C:\Documents and Settings\Administrator\Desktop>java -cp AuroScoutClientApp.jar;
      C:\jboss-4.0.4.GA\client\concurrent,jar;C:\jboss-4.0.4.GA\client\jboss-common-cl
      ient.jar;C:\jboss-4.0.4.GA\client\jboss-j2ee.jar;C:\jboss-4.0.4.GA\client\jbossm
      q-client.jar;C:\jboss-4.0.4.GA\client\jboss-system-client.jar;C:\jboss-4.0.4.GA\
      client\jnp-client.jar;C:\jboss-4.0.4.GA\client\log4j.jar -Djava.naming.factory.i
      nitial=org.jnp.interfaces.NamingContextFactory -Djava.naming.provider.url=jnp://
      localhost:1099 -Djava.naming.factory.url.pkgs=org.jboss.naming.client com.ibm.re
      aderApp.startup.StartupApplication
      log4j:WARN No appenders could be found for logger (org.jboss.mq.referenceable.Sp
      yConnectionFactoryObjectFactory).
      log4j:WARN Please initialize the log4j system properly.
      Exception in thread "main" java.lang.NoClassDefFoundError: EDU/oswego/cs/dl/util
      /concurrent/ThreadFactory
      at org.jboss.mq.SpyConnectionFactory.internalCreateConnection(SpyConnect
      ionFactory.java:137)
      at org.jboss.mq.SpyConnectionFactory.createTopicConnection(SpyConnection
      Factory.java:118)
      at com.ibm.readerApp.startup.StartupApplication.setupMessagingClient(Sta
      rtupApplication.java:40)
      at com.ibm.readerApp.startup.StartupApplication.(StartupApplicatio
      n.java:59)
      at com.ibm.readerApp.startup.StartupApplication.main(StartupApplication.
      java:69)