Solved

Servlet context problem

Posted on 2010-11-14
2
2,020 Views
Last Modified: 2012-08-13
I get the following error in eclipse when a compile a web project with servlet2.5 jar .
Description      Resource      Path      Location      Type
The project was not built since its build path is incomplete. Cannot find the class file for javax.servlet.ServletContext. Fix the build path then try building this project
0
Comment
Question by:randyraj
2 Comments
 
LVL 17

Accepted Solution

by:
sweetfa2 earned 500 total points
ID: 34139557
Right click on your eclipse project.
Select Build Path from Context menu.
Select "Configure build path"
Select Libraries Tab.

Ensure servlet-api.jar is in your list, otherwise add it by clicking on add jars if it is in a lib directory in your project, or add external jars if it is not within your project.
0
 

Author Closing Comment

by:randyraj
ID: 34279776
Thanks
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
jBoss vs. other App Servers 11 387
Java applets work on wired network, but not on wireless 12 125
Shorten long url?  Apache2 and Tomcat. 7 240
DOWNLOADING Java SE6 or later 3 146
Verbose logging is used to diagnose garbage collector problems. By default, -verbose:gc output is written to either native_stderr.log or native_stdout.log.   It is also possible to redirect the logs to a user-specified file. This article will de…
There are numerous questions about how to setup an IBM HTTP Server to be administered from WebSphere Application Server administrative console. I do hope this article will wrap things up and become a reference for this task. You need three things…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

772 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