Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Setup JAVA code in Eclipse

Posted on 2014-04-10
4
Medium Priority
?
381 Views
Last Modified: 2014-05-21
I obtained a sourcecode that creates a web portal and the source code is in JAVA.
I need to use this source code to setup my development environment.
I imported the source code via File-> Import in Eclipse. When I compile I get error.
It shows the attached problems with the compilation. Could you assist how to resolve it?compilation errorCapture1.JPG
Capture2.JPG
0
Comment
Question by:toooki
  • 2
4 Comments
 
LVL 20

Expert Comment

by:chaitu chaitu
ID: 39993399
attach the project structure screen shot that imported in eclipse.
i assume that project structure was wrong.

apart from that clean the project in eclipse..


project---clean
0
 
LVL 32

Expert Comment

by:awking00
ID: 39994325
Since your import line is showing an x, I suspect they include ones that are not in your build path. What do the imports look like when you expand them?
0
 

Author Comment

by:toooki
ID: 40000510
Thank you all. I used project-->clean. I have attached the current screenshots below that will show the error details. I am getting the error: "The type javax.servlet.httpservletrequest cannot be resolved".
screenshot1screenshot2
0
 
LVL 20

Accepted Solution

by:
chaitu chaitu earned 2000 total points
ID: 40000701
need to add servlet.jar in these libraries.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
Simple Linear Regression
Suggested Courses

876 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