Jakarta Annotations API defines common annotations for Java EE/Jakarta EE components, such as @Resource, @PostConstruct, and @PreDestroy.
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>3.0.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Uses @PostConstruct annotation to mark an initialization method.
Replace javax.annotation imports with jakarta.annotation.
No dependency data recorded yet.