I have an application running under WildFly 13. The application would refer to library jars which include classes, js/html files(packaged in jar). When I put library jars under WEB-INF/lib, and deploy WAR only, the application ran well. However, when I packaged my application as EAR and put those library jars under EAR-level lib directory, the application failed. When I checked browser debugger, I found that all those js/html library jars were not deployed at runtime structure. I am wondering whether there are any settings need to be done when deploying as EAR.