Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Project is not building with java 11 or higher than 8 giving error like NoClassDefFoundError: javax/annotation/Generated #2167

Open
bhavesh3005sharma opened this issue Jun 10, 2021 · 0 comments

Comments

@bhavesh3005sharma
Copy link

bhavesh3005sharma commented Jun 10, 2021

The project is building successfully with java 8 but giving errors like NoClassDefFoundError: javax/annotation/Generated for a higher version of java like 11.

To Reproduce
Steps to reproduce the behaviour:

  1. Change the JDK version to 11.
  2. Try to build the project on this java version ( JDK-11)
  3. See the build get failed
  4. Error like : NoClassDefFoundError: javax/annotation/Generated

Expected behaviour
Successful Build

Screenshots
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant