Skip to main content

import javax.annotation cannot be resolved

3 replies [Last post]
oilagan
Offline
Joined: 2007-12-07

Hello.

I've installed the GlassFish V2 binary for Unix and I'm using Eclipse to write web service endpoints. The thing is I'm having a difficult time trying to find which jar file contains the javax.annotation package. Any help would be appreciated.

- Owen

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
deepasobhana
Offline
Joined: 2007-11-28

Hi Owen,

lib\javaee.jar has javax.annotation package.

Thx,
Deepa

oilagan
Offline
Joined: 2007-12-07

Found it!

Thanks Deepa.

Ludovic Champenois

glassfish@javadesktop.org wrote:
> Found it!
>
>

And if you are using the GlassFish plugin for Eclipse, the necessary
jars are automatically added to the Eclipe projects related to Java EE
if their target is the GlassFish server"
Dynamic Web Apps, Ejb Module projects, EAR projects, etc...
Ludo
> Thanks Deepa.
> [Message sent by forum member 'oilagan' (oilagan)]
>
> http://forums.java.net/jive/thread.jspa?messageID=249023
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
> For additional commands, e-mail: users-help@glassfish.dev.java.net
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net
For additional commands, e-mail: users-help@glassfish.dev.java.net