Java Error : type parameters of <T>T cannot be determined during Maven Install

遇到了一个问题如下:

Caused by the combination of generics and autoboxing.

这是由于泛型和自动装箱联合使用引起的。

可以查看以下两个回答:

 

1.http://stackoverflow.com/questions/11747020/error-type-parameters-of-tt-cannot-be-determined-during-maven-install
2.http://stackoverflow.com/questions/2640060/inconsistency-between-sun-jre-javac-and-eclipse-java-compiler
(JDK-6302954 : Inference fails for type variable return constraint)

 

 

posted @ 2017-02-25 10:27  赫尔修斯  阅读(140)  评论(0编辑  收藏  举报