2 Replies Latest reply on Aug 5, 2002 10:20 PM by joelvogt

    java.lang.NoClassDefFoundError In interest example

    dwightsmith

      I was able to compile and deploy the Interest example. However when I run "ant intro-interest-client" I get an error. I get the "Got Context" and "Got reference" messages. When it calls the

      Interest interest = home.create();

      method it throws the following exception:
      [java] java.lang.NoClassDefFoundError: org/jboss/logging/Logger

      Any ideas where this is coming from. I added the
      /server/all/lib/log4j.jar jar to the build.xml. Could this be the problem?

      Thanks.

        • 1. Re: java.lang.NoClassDefFoundError In interest example
          jsmits

          I'm getting the exact same error!
          And I didn't make any changes to the example instructions.
          I'm a beginner trying to use JBoss 3.0.0 on Windows 2000.

          Also, I'm not sure if my server is started properly because it freezes after giving a message like "Started in 1m:9s:311ms". When I attempt to deploy with "ant intro-interest-deploy", I get a BUILD SUCCESSFUL, but no messages at all on the server console.

          Any help would be GREATLY appreciated!!!

          • 2. Re: java.lang.NoClassDefFoundError In interest example
            joelvogt

            when you say it freezes after 'started in xx' does this mean it stops working or just stops giving output? Normally this is the last debug you will get unless you are actually doing something on the server. (Or set for low-level debug).
            As for the interest example problems, a quick search of this forum should solve any problems you have.