1 Reply Latest reply on Aug 30, 2008 4:18 PM by Pete Muir

    EAR slash lib vs EAR

    blabno Master

      Why some libs are kept in EAR/lib and some just in EAR/ ?

      I've noticed that if I put jboss-el.jar in EAR/lib then I do not have to include it in war/META-INF/MANIFEST.MF.

      If I have EAR/jboss-el.jar and no entry in war/META-INF/MANIFEST.MF I get NoClassDefFoundError.

      If I have EAR/jboss-el.jar and include it in Class-Path in war/META-INF/MANIFEST.MF then everything is fine.

      What's the magic with EAR/lib ?