2 Replies Latest reply on Feb 9, 2006 12:21 PM by Pete Briggs

    ClassLoader fails to detect external jar

    Pete Briggs Newbie


      I have what I at first thought was a ClassLoader-related issue, but I read the faq etc and couldn't find where I was going wrong.

      Jboss (3.2.2) is reporting a NoClassDefFound runtime exception from my application referring to a class in an external jar that I have in the server/default/lib directory, however the class is definitely there, in the expected place within the jar, and compiled with the same java version.

      After much hair pulling I tried deploying the app on a colleague's machine, where it works fine (with the jar in server/default/lib) on the same jboss version.

      I also tried deploying on a fresh install of 3.2.5 - same problem.

      Anyone have any ideas?

      Thanks in advance,