Maven can't compile java 1.8

后端 未结 8 1391
旧巷少年郎
旧巷少年郎 2021-02-04 03:39

I\'m trying to use maven to build a jar but I keep getting the error

ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile 
(d         


        
8条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-04 04:10

    you can try configuration in compiler plugin. Its working on my local

          
                maven-compiler-plugin
                3.3
                
                    
                    1.8
                
            
    

提交回复
热议问题