Maven : error: generics are not supported in -source 1.3 , I am using 1.6

前端 未结 5 694
礼貌的吻别
礼貌的吻别 2020-12-03 10:13

I have imported an existing Maven project into Eclipse IDE . I have modified some code in it , it compiled successfully , I am using Java 1.6 as compiler and when i am try

5条回答
  •  情深已故
    2020-12-03 10:42

    You have to configure the Maven Compiler Plugin.

    
      org.apache.maven.plugins
      maven-compiler-plugin
      2.3
      
        1.6
        1.6
      
    
    

提交回复
热议问题