close

[Solved] Error:java: java.lang.ExceptionInInitializerError com.sun.tools.javac.code.TypeTags

Hello Guys, How are you all? Hope You all Are Fine. Today I am facing following error in maven Error:java: java.lang.ExceptionInInitializerError com.sun.tools.javac.code.TypeTags in Java. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Error:java: java.lang.ExceptionInInitializerError com.sun.tools.javac.code.TypeTags Error Occurs ?

I am facing following error in maven.

Error:java: java.lang.ExceptionInInitializerError
com.sun.tools.javac.code.TypeTags
Error:java: java.lang.ExceptionInInitializerError

How To Solve Error:java: java.lang.ExceptionInInitializerError com.sun.tools.javac.code.TypeTags Error ?

  1. How To Solve Error:java: java.lang.ExceptionInInitializerError com.sun.tools.javac.code.TypeTags Error ?

    To Solve Error:java: java.lang.ExceptionInInitializerError com.sun.tools.javac.code.TypeTags Error You just need to add this dependency in your POM.xml file: org.projectlombok Now, your error must be solved.

  2. Error:java: java.lang.ExceptionInInitializerError com.sun.tools.javac.code.TypeTags

    To Solve Error:java: java.lang.ExceptionInInitializerError com.sun.tools.javac.code.TypeTags Error You just need to add this dependency in your POM.xml file: org.projectlombok Now, your error must be solved.

Solution 1: add this dependency 

You just need to add this dependency in your POM.xml file.

<dependency>
  <groupId>org.projectlombok</groupId>
  <artifactId>lombok</artifactId>
  <version>1.18.2</version>
  <scope>provided</scope>
</dependency>

Now, your error must be solved.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Leave a Comment