JSF 2.0 composite component into jar

匆匆过客 提交于 2019-12-04 15:53:49

I've solved the problem. I've looked inside the jar file and didn't see the META-INF/resources folder with the xhtml files. So I changed the META-INF folder from src/main/java to src/main/resources. It worked

You should check if the ResourceHandler installed can locate the library and resource (popupSubmit.xhtml) inside you JAR file. Use a ResourceResolver will not help, because it is used for facelets (ui:xxx and facelet views). If there is some ResourceHandler wrapper that prevents locate the library and the resource, or some other problem on the classpath, it is expected the warning you are looking can be seen.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!