1 Reply Latest reply: Dec 3, 2013 4:01 AM by gimbal2 RSS

    getting package does not exist error

    pari09

      Hi,

       

      I am trying to run my first JSF project but getting following exception:-

       

      org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP

       

      PWC6197: An error occurred at line: 14 in the jsp file: /index.jsp

      PWC6199: Generated servlet error:

      package com.sun.faces.taglib.jsf_core does not exist

       

      PWC6197: An error occurred at line: 14 in the jsp file: /index.jsp

      PWC6199: Generated servlet error:

      package com.sun.faces.taglib.jsf_core does not exist

       

      PWC6197: An error occurred at line: 14 in the jsp file: /index.jsp

      PWC6199: Generated servlet error:

      package com.sun.faces.taglib.jsf_core does not exist

       

      PWC6197: An error occurred at line: 15 in the jsp file: /index.jsp

      PWC6199: Generated servlet error:

      package com.sun.faces.taglib.html_basic does not exist

       

      PWC6197: An error occurred at line: 15 in the jsp file: /index.jsp

      PWC6199: Generated servlet error:

      package com.sun.faces.taglib.html_basic does not exist

       

      PWC6197: An error occurred at line: 15 in the jsp file: /index.jsp

      PWC6199: Generated servlet error:

      package com.sun.faces.taglib.html_basic does not exist

       

      I had created a war of my project and deployed on the glass fish server. I have put the required jar files in WEB-INF-> lib folder (jsf-api.jar, jsf-impl.jar, jstl-1.1.0.jar).

      Wondering why its not able to find the packages.

      Following is my index.jsp:-

       

       

      <%@ taglib prefix="f" uri="http://java.sun.com/jsf/core" %>

      <%@ taglib prefix="h" uri="http://java.sun.com/jsf/html" %>

      <%@ page contentType="text/html;charset=UTF-8" language="java" %>

      <html>

        <head><title>Simple jsp page</title></head>

        <body>

       

       

        <f:view>

            <h:outputLabel value="Hello, world"/>

        </f:view>

       

       

        </body>

      </html>

       

      Please help.

       

      Thanks,

      Parikshit