Hello;
I have JSF2+primefaces webapp and I have developed one library that I export into the server as a module.
In the jboss-deployment-structure file I have one reference to this module like this:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
<ear-subdeployments-isolated>false</ear-subdeployments-isolated>
<deployment>
<dependencies>
<module name="org.primefaces" meta-inf="export">
<imports>
<include path="META-INF" />
</imports>
</module>
<module name="my.module" annotations="true" services="import" export="true" meta-inf="export"/>
</dependencies>
</deployment>
<sub-deployment name="webapp.war">
</sub-deployment>
<jboss-deployment-structure>
In my module despite several classes I have some resources like images, xhtml, css and facelets templates
Images an css Works fine but facelets templates and other xhtml produces this error
JSF1064: JSF1064: Unable to find or serve resource
If my librari Works in compiled mode (not provided) all Works fine.
Can somebody have this problem?