I already have installed Java SDK following which, I later also Downloaded Java EE which was not automatically Installed in Eclipse. How do I import the Java EE libraries in Eclipse?
+2
A:
I'd suggest using Maven along with the m2eclipse plugin. This will import all of the packages you need for you.
Taylor Leese
2009-09-19 08:46:34
+1 for J2EE edition of Eclipse, it's the easiest solution.
Jorn
2009-09-19 17:33:21
+1
A:
Download and install/unpack your favorite JEE container (for web applications use Tomcat)
Download and start the JEE edition of Eclipse
In the Server panel create a new local server corresponding to the above JEE container.
Create a new "Web -> Dynamic Web Project" using the server defined above. Set the "Servlet API level" to 2.4 or 2.5 depending on your needs.
The new project will have access to the appropriate JEE libraries.
Thorbjørn Ravn Andersen
2009-09-19 13:25:31
You're welcome. Took me a while to figure out - it is a bit backward.
Thorbjørn Ravn Andersen
2009-09-23 16:56:26