Link to home
Start Free TrialLog in
Avatar of toooki
toooki

asked on

Setup JAVA code in Eclipse

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?User generated imageCapture1.JPG
Capture2.JPG
Avatar of chaitu chaitu
chaitu chaitu
Flag of India image

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
Avatar of awking00
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?
Avatar of toooki
toooki

ASKER

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".
User generated imageUser generated image
ASKER CERTIFIED SOLUTION
Avatar of chaitu chaitu
chaitu chaitu
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial