Maven build Compilation error : Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project Maven

前端 未结 19 1658
说谎
说谎 2020-12-01 01:17

I have a maven project forked and cloned from a git repo onto my eclipse. It is build on Java 8. The first thing i do is perform a

mvn clean install
         


        
19条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 01:54

    If your local jdk version is 11 or 9, 10, and your project's java source/target version is 1.8, and you are using org.projectlombok:lombok package, then you can try to update its version to 1.16.22 or 1.18.12, like this:

            
                org.projectlombok
                lombok
                1.16.22
            
    

    It just solved my issue.

提交回复
热议问题