primefaces.org/ui cannot be resolved

前端 未结 1 1394
小蘑菇
小蘑菇 2021-01-22 06:46

I am new to JSF and PrimeFaces (and new to stackoverflow) and am having a configuration/deployment problem. I am using PrimeFaces 5.0, Tomcat 7.0.55, and JSF 2.2. The JSF tags

1条回答
  •  被撕碎了的回忆
    2021-01-22 07:11

    You're using JSP. JSP is deprecated since JSF 2.0 (at date, almost 5 years ago already). Therefore, JSF 2.0 compatible component libraries don't support JSP anymore. PrimeFaces is such one. Already since PrimeFaces 2.0 it didn't support JSP.

    Use JSP's successor Facelets instead.

    • Java EE 7 tutorial - Facelets
    • How to use PrimeFaces 3.2 in Eclipse Indigo SR2?
    • Why Facelets is preferred over JSP as the view definition language from JSF2.0 onwards?

    0 讨论(0)
提交回复
热议问题