Hi,
I have defined some custom page tag and trying to use it in my application. I am running my server in eclipse and the component class is present in a jar file. While I try to load the page I am getting the exception "SEVERE: JSF1068: Cannot instantiate component with component-type page". Seems that it is not able to load the page component class present inside the jar file.
Interestingly when I extract the component classes and put them directly under the Web Application project in eclipse it works fine.
Please let me know if there is any pointer to the issue.
My web.xml has the following entry
<context-param>
<param-name>javax.faces.FACELETS_LIBRARIES</param-name>
<param-value>/WEB-INF/XYZ-taglib.xml</param-value>
</context-param>
Tag defination is
<tag>
<tag-name>page</tag-name>
<component>
<component-type>page</component-type>
</component>
<attribute>
<name>src</name>
<required>true</required>
</attribute>
<attribute>
<name>localName</name>
<required>false</required>
</attribute>
</tag>
And the tag component class is
The error stack trace is
SEVERE: JSF1068: Cannot instantiate component with component-type page
13:01:11,471 ERROR [XYZRenderingManager] render: handleException(RenderingException)
13:01:11,471 ERROR [XYZRenderingManager] Unhandled exception thrown during rendering