build fail , "'com.sun.tools.javac.tree.JCTree qualid'" error occur

2.8k views Asked by At

When I try to run the application it show the error.

enter image description here

java: java.lang.NoSuchFieldError: Class com.sun.tools.javac.tree.JCTree$JCImport does not have member field 'com.sun.tools.javac.tree.JCTree qualid'

some people said this error relate to lombok but i have no idea with error.

I tried to use JDK 11,12,14,21. Error still here.

Environment:

OS: Window 11

ThingsBoard: version 3.6

Browser: chrome

JDK : openjdk 12

springboot:2.7.10

lombok:1.18.18

1

There are 1 answers

1
Binay Kumar On

Brother, you missed jdk 17(go to file and project structure if using IntelliJ) . Try it with this dependency :1.18.24

this should work