Same source code, Eclipse build success but Maven (javac) fails

前端 未结 4 770
误落风尘
误落风尘 2021-02-15 11:02

Keep getting this error when compiling using Maven:

type parameters of X cannot be determined; no unique maximal instance exists for type variable X wit         


        
4条回答
  •  猫巷女王i
    2021-02-15 11:30

    It definitely has to do something with the JDK versions maven and eclipse are using. Also make sure your Compiler compliance level in eclipse points to the right JDK version.

提交回复
热议问题