Compile with Lombok to report an error
Lombok’s official website
The jar is introduced in the project package
then Lombok plug-in installation tools in the code
add annotations of Lombok begin to use
The compiled code will report an error
1. If the IDEA tool is on, check if the
Build — Compiler — Annotation Processors option is enabled
2. If it returns an error, or if it is Eclipse
, then it is time to check the version of the problem
If you are using Java 9 or above, switch Lombok to 1.18.x
or downgrade Java to 8 or below
Read More:
- Error in idea @ data entity class get / set
- @In slf4j log.info Compile error: cannot find symbol log
- [idea] error occurred when using @ data annotation in Lombok: no related get / set method was found
- Brief introduction of idea Lombok and solutions for reporting red and wrong
- Idea startup project Lombok error, no symbol found
- @Solution to get / set error in eclipse after using data annotation
- Java was started but returned exit code = 13
- How to Fix Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- 解决Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile
- How to solve the error of “failed to create the Java virtual machine” in installing eclipse 2020-03 in MAC environment
- Eclipse .java File Syntax error, parameterized types are only available if source level is 1.5 or
- Start Eclipse and pop up the “Failed to load the JNI shared library jvm.dll” dialog box
- javac Task Error source release 1.7 requires target release
- Solution to the error of @ resource annotation in eclipse spring
- Error reporting when Lombok @ data and @ builder are used together
- IntelliJ idea / eclipse automatically generate author annotation signature
- Failed to load the JNI shared library solution
- @Solution to override error
- Failed to execute goal
- Ubuntu: Failed to initialize compiler: object java.lang.Object In compiler mirror not found