Closed raghu225599 closed 7 months ago
How have you added the javax.annotation package to your classpath?
irrespective of the version, tthere get an error in the ide while adding @ PostConstruct and @PreDestroy so then adding this jar 'javax.annotation-api-1.3.2' solves the issue
when iam using @PostConstruct and @PreDestroy annotations even though i imported the packages which are import javax.annotation.PostConstruct; import javax.annotation.PreDestroy; getting error saying PostConstruct cannot be resolved to a type,same with PreDestroy also when using the eclipse IDE for Java and Web Developers 2020-06 version