NoSuchMethodError org.springframework.data.redis.connection.RedisConnection.set...

来自ling
跳转至: 导航搜索

https://blog.csdn.net/smollsnail/article/details/78954225

  • 1
<security.oauth.version>2.3.3.RELEASE</security.oauth.version>
  • 2
			<exclusions>
				<!--旧版本 redis操作有问题-->
				<exclusion>
					<artifactId>spring-security-oauth2</artifactId>
					<groupId>org.springframework.security.oauth</groupId>
				</exclusion>
			</exclusions>
<!--spring security 、oauth、jwt依赖-->
		<dependency>
			<groupId>org.springframework.cloud</groupId>
			<artifactId>spring-cloud-starter-security</artifactId>
			<exclusions>
				<!--旧版本 redis操作有问题-->
				<exclusion>
					<artifactId>spring-security-oauth2</artifactId>
					<groupId>org.springframework.security.oauth</groupId>
				</exclusion>
			</exclusions>
		</dependency>
		<dependency>
			<groupId>org.springframework.security.oauth</groupId>
			<artifactId>spring-security-oauth2</artifactId>
			<security.oauth.version>2.3.3.RELEASE</security.oauth.version>
		</dependency>