Geronimo classpath container not included by default
----------------------------------------------------
Key: GERONIMODEVTOOLS-331
URL: https://issues.apache.org/jira/browse/GERONIMODEVTOOLS-331
Project: Geronimo-Devtools
Issue Type: Bug
Components: eclipse-plugin
Affects Versions: 2.1.0
Reporter: Shiva Kumar H R
Assignee: Tim McConnell
Priority: Critical
Fix For: 2.1.0
When I create a simple Dynamic Web Project and try adding a servlet inside it,
I hit compilation errors for all J2EE APIs like:
HttpServletRequest cannot be resolved to a type HelloWorld/src/test
TestServlet.java
javax.servlet cannot be resolved to a type HelloWorld/src/test
TestServlet.java
ServletException cannot be resolved to a type HelloWorld/src/test
TestServlet.java
In Project Explorer view, when I expand <web-app-project> -> Java Resources:
src -> Libraries, I see that there is no library listed for Apache Geronimo!
And I will have to manually add it as below to resolve above compilation errors:
Right click on web-project -> Properties -> Java Build Path -> Libraries -> Add
Library -> Server Runtime -> Next -> Apache Geronimo v2.1 -> Finish -> OK.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.