Browsing Category "NoClassDefFoundError"

Search This Blog

Powered by Blogger.

Pages

Browsing "Older Posts"

Browsing Category "NoClassDefFoundError"

JDK8 java.lang.NoClassDefFoundError: com/sun/tools/javac/code/TypeTags

By TY → Sunday, October 11, 2015

Java build fail after update to jdk8 java.lang.NoClassDefFoundError: com/sun/tools/javac/code/TypeTags

Some projects continue to build successfully while some others failed after upgrading JDK.
Looking deeper into it and comparing the projects, those that failed are projects that are using lombok. It has been a while since I have upgraded lombok version. (which was still at 0.XXX)

After downloading the latest version of lombok and rebuild, the build completes successfully!