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

      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


      Thanks!