5 Replies Latest reply on Nov 22, 2004 5:20 AM by darranl

    java.lang.NoClassDefFoundError

    amit_sangal

      Hi All,
      My application is using some J2EE classes. When I deploy this application on JBOSS 3.2.5 ( default server) , I get java.lang.NoClassDefFoundError: exception for classes like javax/jms/JMSException.

      This is highly surprising to me that JBOSS 3.2.5 is not able to pick up standard J2EE classes.

      I would really appreciate quick help.

      Regards,
      Amit

        • 1. Re: java.lang.NoClassDefFoundError
          frito

          Does your app contain the j2ee resources? They must not do this. Don't forget, JBoss is using its own j2ee classes.

          • 2. 3855616
            darranl

            Hi all,

            I'm deploying ear file in JBoss and in that ear file we have a war file and the servlets and other classes are put into a jar file and placed it in the WEB-INF/lib directory, when I'm testing my web application, it's giving error and the error is java.lang.NoClassDefFoundError error.

            please help me in solving this problem

            thanks
            arvind

            • 3. Re: java.lang.NoClassDefFoundError
              amit_sangal

              My app does not contain any j2ee resource.

              Looks like, there is some class loading problem behind this issue.

              I would really appericiate further inputs.

              Regards,
              Amit

              • 4. Re: java.lang.NoClassDefFoundError
                frito

                Provide some more information about your deployment configuration (jars, deployment descriptors, configuration of loader repositories, ...)

                • 5. Forum Error
                  darranl

                  Looks like something has got corrupted in this thread, I remember replying to this thread but that was not my message above.