1 Reply Latest reply on Aug 28, 2009 3:04 PM by jaikiran

    EAR not finding class in server\default\lib

    earniedyke

      Greetings all,

      I have a jar that I deploy in server\default\lib and then deploy a .war and a .ear. The .war doesn't seem to have a problem finding my classes. The .ear however gets a NoClassDefFoundError. Should this not work?

      I am using JBoss AS 5.1

      Earnie!

        • 1. Re: EAR not finding class in server\default\lib
          jaikiran

          Please post the entire exception stacktrace. Also are you sure the jar file in the default/lib does infact have that class?

          While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted.