If there is magic on this planet, it is contained in water. | Loren Eiseley |
package javax.annotation.security does not exist
We need to include this maven dependecy or JAR in java project to fix the javax.annotation.security does not exist issue.
https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api
Maven dependency to add in POM.xml file
<!-- https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api --><dependency><groupId>javax.annotation</groupId><artifactId>javax.annotation-api</artifactId><version>1.3.2</version></dependency>
If Maven dependecy is already there and still it is not working then, look on the JDK configuration. It means your JDK is not correctly configured to use and build this code, for more refer Package javax.annotation does not exist JDK issue.
Subscribe to:
Posts (Atom)