Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error while running JSF Web Application

Status
Not open for further replies.

ayanroy

Programmer
Joined
Oct 20, 2002
Messages
22
Location
EU
I have built a JSF web application on Netbeans 5.0m and while trying to run in Tomcat 5, it is giving error messages--

org.apache.jasper.JasperException: Unable to read TLD "META-INF/html_basic.tld" from JAR file "file:/C:/My_Project_JSF/jsfAppDemo/build/web/WEB-INF/lib/jsf-impl.jar": org.apache.jasper.JasperException: Failed to load or instantiate TagLibraryValidator class: com.sun.faces.taglib.html_basic.HtmlBasicValidator


The .tld mentioned is present in the said .jar file, but I still can not figure out what can be reason of this error.

Please help me out...

Ayan Kumar Roy
India
 
Another solution from the link
I had the same problem, and I learned how to fix it from this page:

Turns out that I was including a copy of jsp-api-2.0.jar in my WEB-INF/lib directory, and Tomcat already had one. Deleting the jar from my WEB-INF/lib directory fixed the problem.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top