Solved

Eclipse Version: 3.6.0 'The import javax.servlet.jsp.JspWriter cannot be resolved' error

Posted on 2011-02-14
3
2,318 Views
Last Modified: 2012-05-11
I am running eclipse and all of my .jsp code is uncompiled because of an error stating 'The import javax.servlet.jsp.JspWriter cannot be resolved'.  I am trying to add servlet-api.jar and jsp-api.jar from my Tomcat 6.0 library to my ecipse project, thinking this may be my problem.  Where in the Project am I able to do this?
0
Comment
Question by:cookiejar
3 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 500 total points
ID: 34889659
goto properties --> java build path --> Add library --> web app libraries
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 34890892
include jsp-api.jar in the classpath(web-inf \lib)
Check related jar files
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question