Error package javax.annotation does not exist; this means that configured JDK is not working properly or there is some conflict in the installed JDK version.
If you are using any IDE tool for development and experienced this error, then go to the project build path and check the right JDK is configured in the build path.[Please refer to our post How to configure build path and JDK for the project]. We may also face this error when we have multiple JDK installed in our machine. So add the correct JDK library for the project, then clean the project and build again.
Hope this will help you and fix your issue.
No comments:
Post a Comment
If you have any doubts or questions, please let us know.