Solved

Servlet context problem

Posted on 2010-11-14
2
2,012 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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

758 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

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now