Wednesday, September 23, 2009

ERROR in Eclipse - Access restriction: Class is not accessible due to restriction on required library


I get this error in Eclipse when I use the @PostConstruct and / or @PreDestroy annotations. To get rid of this error in Eclipse change the "Forbidden reference (access rules)" level to Warning or Ignore.

No comments:

Post a Comment