Menu

package javax.annotation does not exist

Error package javax.annotation does not exist; this means that configured JDK is not working properly or there is some conflict in installed JDK version.

If you are using any IDE tool for development and experienced this error, then go to project build path and check the right JDK is configured in the build path.[Please refer our post How to configure build path and JDK for project]. We may also face this error when we have multiple JDK installed in our machine. So add the correct JDK library for project, then clean the project and build again.

Hope this will help you and fix your issue.

No comments:

Post a Comment