Search code examples
jsfprimefacesjsf-2jsf-2.2

Tag Library supports namespace: http://primefaces.org/ui, but no tag was defined for name: dataView


I'm using JSF 2.2 and PrimeFaces 6.2 and, when I use <p:dataView ...> my program crash. This is the error:

javax.servlet.ServletException: /index.xhtml @15,65 <p:dataView> Tag Library supports namespace: http://primefaces.org/ui, but no tag was defined for name: dataView

How can I solve it?

PS. I added the Jar file of PrimeFaces on classpath and, also, add the jar in webapp/WEB-INF/lib PPS. Only for this tag I notice this error, others PrimeFaces tag work correctly.


Solution

  • The correct answer is this was added in PF 6.2.3 and you are using PF 6.2.

    Here is the GitHub ticket it was created for. https://github.com/primefaces/primefaces/issues/3594