java.lang.NoSuchMethodError:org.springframework.core.GenericTypeResolver.resolve

java.lang.NoSuchMethodError:org.springframework.core.GenericTypeResolver.resolveTypeArguments(Ljava/lang/Class;Ljava/lang/Class;)[Ljava/lang/Class;

       atorg.springframework.core.convert.support.GenericConversionService.getRequiredTypeInfo(GenericConversionService.java:275)

       atorg.springframework.core.convert.support.GenericConversionService.addConverter(GenericConversionService.java:93)

       atorg.springframework.core.convert.support.DefaultConversionService.addScalarConverters(DefaultConversionService.java:61)

       atorg.springframework.core.convert.support.DefaultConversionService.addDefaultConverters(DefaultConversionService.java:53)

       atorg.springframework.core.convert.support.DefaultConversionService.<init>(DefaultConversionService.java:42)

       atorg.springframework.core.convert.support.ConversionServiceFactory.createDefaultConversionService(ConversionServiceFactory.java:68)

       atorg.springframework.data.redis.serializer.GenericToStringSerializer.<init>(GenericToStringSerializer.java:44)

       atorg.springframework.data.redis.serializer.GenericToStringSerializer.<init>(GenericToStringSerializer.java:48)

       atorg.springframework.data.redis.support.atomic.RedisAtomicLong.<init>(RedisAtomicLong.java:71)

       at org.springframework.data.redis.support.atomic.RedisAtomicLong.<init>(RedisAtomicLong.java:54)

      原来是maven工程的jar包冲突,mvn parent中jar包是spring3.0.5,当前pom.xml文件中写的是3.1.1.,还有个2.。5.6的一柄删除掉了

猜你喜欢

转载自m635674608.iteye.com/blog/2195831