0 Replies Latest reply on Mar 2, 2015 2:58 AM by David Hofmann

    Wildfly 8.2 not scanning entities inside WEB-INF/lib/*.jar

    David Hofmann Newbie

      Hi People.

      I was deploying a war that contained the entities inside the WEB-INF/classes directory, but now I moved those entities to a separate proyect/module and now the entities reside inside WEB-INF/lib/*.jar

      After the change wildfly failed to scan the entities producing errors while deploying.

      I then tried adding <class>class.inside.webinf.lib.Entity</class> tags inside my persistence.xml file and everything deployed correctly.

      Am I missing something ?

      Is this the expected behaviour?

      EJBs inside WEB-INF/lib/*.jar where successfuly scanned though...

      Cross-posted in http://stackoverflow.com/questions/28788564/wildfly-8-2-fails-scanning-entities-inside-web-inf-lib-jar-directory-is-this