Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » J2EE documentation
J2EE documentation [message #231292] Wed, 13 May 2009 14:13 Go to next message
Anna  is currently offline Anna
Messages: 24
Registered: July 2009
Junior Member
I'm trying to use shift+F2 to look up HttpServletResponse class, and
Eclipse sends me the error message, saying that some jar file is not found.
All my jar files are in place. As a proof - the servlets are successfully
built.
shift+F2 works for all Java SE classes, but not for J2EE ones.
It looks like Eclipse can't find the URL to go to .

Please help!

Thanks in advance,
Anna
Re: J2EE documentation [message #231300 is a reply to message #231292] Wed, 13 May 2009 14:59 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1305
Registered: July 2009
Senior Member
Anna wrote:
> I'm trying to use shift+F2 to look up HttpServletResponse class, and
> Eclipse sends me the error message, saying that some jar file is not found.
> All my jar files are in place. As a proof - the servlets are
> successfully built.
> shift+F2 works for all Java SE classes, but not for J2EE ones.
> It looks like Eclipse can't find the URL to go to .
>
> Please help!
>
> Thanks in advance,
> Anna
>
>

For me, the error indicates that Javadoc has not been configured and
names the jar that needs configuring. Javadoc configuration for Java EE
APIs isn't as simple as it is for Java SE and may not be automated.

You don't name which vendor's runtime you are trying to use, but in case
it's Tomcat, see:

http://wiki.eclipse.org/WTP_Tomcat_FAQ#How_do_I_make_the_Ser vlet_and_JSP_API_Javadoc_in_my_Tomcat_installation_accessibl e_within_Eclipse.3F

Cheers,
Larry
Re: J2EE documentation [message #231379 is a reply to message #231300] Fri, 15 May 2009 09:48 Go to previous messageGo to next message
Anna  is currently offline Anna
Messages: 24
Registered: July 2009
Junior Member
Hi Larry!

Thank you very much for your reply.

I'm using GlassFish v2 Java EE 5.
Is there anything specific for this server?
Would you please include as much details as possible, I'm a novice, it's
my very first web project.

Thank you very much,
Anna
Re: J2EE documentation [message #231385 is a reply to message #231379] Fri, 15 May 2009 10:44 Go to previous message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1305
Registered: July 2009
Senior Member
Anna wrote:
> Hi Larry!
>
> Thank you very much for your reply.
>
> I'm using GlassFish v2 Java EE 5.
> Is there anything specific for this server?
> Would you please include as much details as possible, I'm a novice, it's
> my very first web project.
>
> Thank you very much,
> Anna
>
>

I know almost nothing about the GlassFish server support. The process
described for Tomcat may be applicable for GlassFish, but I don't know
where to tell you to find servlet API Javadoc in a GlassFish install.
You could also ask on a GlassFish support forum and see if you can get a
response from someone more knowledgeable.

Cheers,
Larry
Previous Topic:3.5M7 Converting JPA Project to Plug-in Project
Next Topic:Problem with WTP Editor and validation
Goto Forum:
  


Current Time: Fri Aug 22 14:02:22 EDT 2014

Powered by FUDForum. Page generated in 0.01883 seconds