This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes package com.sun.faces.taglib.html_basic does not exist Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "package com.sun.faces.taglib.html_basic does not exist" Watch "package com.sun.faces.taglib.html_basic does not exist" New topic
Author

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

Stas Melnychenko
Greenhorn

Joined: Feb 20, 2012
Posts: 14

When I run my web application with jetty - it works.
But when I deploy it to Tomcat 6 - I get this error:

SEVERE: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP

PWC6197: An error occurred at line: 20 in the jsp file: /pages/mainpage.jsp
PWC6199: Generated servlet error:
package com.sun.faces.taglib.jsf_core does not exist

I do not understand anything. Pleas help. I will give all information you need.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19656
    
  18

Did you add all the required JSF JAR files to your application's WEB-INF/lib folder?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Stas Melnychenko
Greenhorn

Joined: Feb 20, 2012
Posts: 14

Rob Spoor wrote:Did you add all the required JSF JAR files to your application's WEB-INF/lib folder?


Yes, I have jsf-impl.jar and jsf-api.jar in WEB-INF/lib folder.
Application work on jetty, so I think I added all libraries I need.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: package com.sun.faces.taglib.html_basic does not exist
 
Similar Threads
Java mail api
servlet compilation error.
Compilation Error - package javax.servlet does not exist
package javax.servlet does not exist
javax.servlet. Not Found