从Github下载spring data redis 2.0.2.RELEASE源代码,使用eclipse导入(版本:Mars.2 Release(4.5.2))[import - Maven -Existing Maven Projects]。
在解决问题lombok和org.apache.maven.archiver.MavenArchiver.getManifes后仍然存在一些问题:
Description Resource Path Location Type
Cannot infer type arguments for ConvertingCursor<> DefaultStringRedisConnection.java /spring-data-redis/src/main/java/org/springframework/data/redis/connection line 3246 Java Problem
The method any(Class<byte[]>) is ambiguous for the type LettuceConnectionUnitTestSuite.LettuceConnectionUnitTests LettuceConnectionUnitTestSuite.java /spring-data-redis/src/test/java/org/springframework/data/redis/connection/lettuce line 172 Java Problem
The method any(Class<byte[]>) is ambiguous for the type LettuceConnectionUnitTestSuite.LettuceConnectionUnitTests LettuceConnectionUnitTestSuite.java /spring-data-redis/src/test/java/org/springframework/data/redis/connection/lettuce line 172 Java Problem
The method defaultNullTo(Supplier<Object>) in the type LettuceResult.LettuceResultBuilder<T,Object> is not applicable for the arguments (Supplier<R>) LettuceConnection.java /spring-data-redis/src/main/java/org/springframework/data/redis/connection/lettuce line 132 Java Problem
Type mismatch: cannot convert from LettuceResult<T,Object> to LettuceResult<T,R> LettuceConnection.java /spring-data-redis/src/main/java/org/springframework/data/redis/connection/lettuce line 123 Java Problem
Spring项目是否需要特殊的导入方法,我尝试使用STS导入,并且存在类似的问题。
任何建议或帮助? 1.应该使用什么IDE来导入Spring数据redis项目? 2.在eclipse导入后如何解决上述错误?