• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

@PreDestroy not found in javaee.jar ( Sun JavaEE 5 SDK update 1)

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi ppl,
I tried compiling a session bean with a @PreDestroy annotation. It gave me a 'cannot find symbol' for class PreDestroy. I checked the javaee.jar and found that only PrePassivate and PostActivate are present. Can anyone help me out? I have given the code below:



Thanks in advance,
Malan
[ November 05, 2006: Message edited by: Malan Subramanian ]
 
Malan Subramanian
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
I got it working :-)

changed the following import statement

to
reply
    Bookmark Topic Watch Topic
  • New Topic