Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnsatisfiedDependencyException: Error creating bean with name 'httpClientSslConfigurer' defined in class path resource [org/springframework/cloud/gateway/config/GatewayAutoConfiguration$NettyConfiguration.class]: #3702

Open
lwx57280 opened this issue Feb 24, 2025 · 3 comments

Comments

@lwx57280
Copy link

lwx57280 commented Feb 24, 2025

Appears when integrating Spring Cloud gateway Unsatisfied dependency expressed through method 'httpClientSslConfigurer' parameter 1: Error creating bean with name 'httpClientProperties': Could not bind properties to 'HttpClientProperties' : prefix=spring.cloud.gateway.httpclient, ignoreInvalidFields=false, ignoreUnknownFields=true

Current environment :

  1. JDK17
  2. Maven 3.9
  3. Spring Boot 3.4
  4. Spring Cloud Alibaba 2023.0.3.2
  5. Spring-cloud 2024.0.0

Configuration:

I have configured the following settings in application.yml to specify the HTTP client configuration and routing:

spring:
  cloud:
    gateway:
      # Global timeout
      httpclient:
        pool:
          max-connections: 200
          max-idle-time: 30000
          time-to-live: 60000
      locator:
        enabled: true
      routes:
        # Authentication Center
        - id: mate-auth
          uri: lb://mate-auth
          predicates:
            - Path=/auth/**
        #UPMS module
        - id: mate-upms
          uri: lb://mate-upms
          predicates:
            - Path=/admin/**
          filters:
            # Current limiting configuration
            - name: RequestRateLimiter
              args:
                key-resolver: '#{@remoteAddrKeyResolver}'
                #How many requests are allowed per second
                redis-rate-limiter.replenishRate: 100
                #Token bucket capacity, the maximum number of requests allowed in one second
                redis-rate-limiter.burstCapacity: 200

The specific error is as follows:

jakarta.validation.NoProviderFoundException: Unable to create a Configuration, because no Jakarta Bean Validation provider could be found. Add a provider like Hibernate Validator (RI) to your classpath.
	at jakarta.validation.Validation$GenericBootstrapImpl.configure(Validation.java:291) ~[jakarta.validation-api-3.0.2.jar:na]
	at org.springframework.boot.validation.MessageInterpolatorFactory.getMessageInterpolator(MessageInterpolatorFactory.java:79) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.validation.MessageInterpolatorFactory.getObject(MessageInterpolatorFactory.java:70) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.context.properties.ConfigurationPropertiesJsr303Validator$Delegate.<init>(ConfigurationPropertiesJsr303Validator.java:71) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.context.properties.ConfigurationPropertiesJsr303Validator.<init>(ConfigurationPropertiesJsr303Validator.java:43) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.context.properties.ConfigurationPropertiesBinder.getJsr303Validator(ConfigurationPropertiesBinder.java:178) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.context.properties.ConfigurationPropertiesBinder.getValidators(ConfigurationPropertiesBinder.java:156) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.context.properties.ConfigurationPropertiesBinder.getBindHandler(ConfigurationPropertiesBinder.java:112) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.context.properties.ConfigurationPropertiesBinder.bind(ConfigurationPropertiesBinder.java:93) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.bind(ConfigurationPropertiesBindingPostProcessor.java:96) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:79) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:423) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1800) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:601) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:289) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1573) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1519) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:913) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:546) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1357) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1187) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:563) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:523) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:336) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:289) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:334) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1122) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1093) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1030) ~[spring-beans-6.2.1.jar:6.2.1]
	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:987) ~[spring-context-6.2.1.jar:6.2.1]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627) ~[spring-context-6.2.1.jar:6.2.1]
	at org.springframework.boot.web.reactive.context.ReactiveWebServerApplicationContext.refresh(ReactiveWebServerApplicationContext.java:66) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:752) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1361) ~[spring-boot-3.4.0.jar:3.4.0]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1350) ~[spring-boot-3.4.0.jar:3.4.0]
	at com.mate.cloud.gateway.MateGatewayApplication.main(MateGatewayApplication.java:24) ~[classes/:na]

[mate-gateway:192.168.110.111:9999] 2025-02-24 12:24:45.162 ERROR 14608 [] [main] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter 

***************************
APPLICATION FAILED TO START
***************************

Description:

The Bean Validation API is on the classpath but no implementation could be found

Action:

Add an implementation, such as Hibernate Validator, to the classpath

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'httpClientSslConfigurer' defined in class path resource [org/springframework/cloud/gateway/config/GatewayAutoConfiguration$NettyConfiguration.class]: Unsatisfied dependency expressed through method 'httpClientSslConfigurer' parameter 1: Error creating bean with name 'httpClientProperties': Could not bind properties to 'HttpClientProperties' : prefix=spring.cloud.gateway.httpclient, ignoreInvalidFields=false, ignoreUnknownFields=true
Disconnected from the target VM, address: '127.0.0.1:56285', transport: 'socket'

Process finished with exit code 0

Image

I tried to comment out the httpclient configuration item and restart the service, but the same error still occurred.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@spencergibb
Copy link
Member

spring-boot-starter-validation is a required dependency. Why is it not on your class path?

@lwx57280
Copy link
Author

lwx57280 commented Feb 24, 2025

spring-boot-starter-validation is a required dependency. Why is it not on your class path?

1、Try to modify and adjust the httpclient property configuration as follows:

spring:
  cloud:
    gateway:
      httpclient:
        connect-timeout: 5000
        response-timeout: 5000

2、I tried to introduce the following dependencies into my gateway module

<dependency>
            <groupId>jakarta.validation</groupId>
            <artifactId>jakarta.validation-api</artifactId>
        </dependency>
        <dependency>
            <groupId>org.hibernate.validator</groupId>
            <artifactId>hibernate-validator</artifactId>
        </dependency>

Still not solved UnsatisfiedDependencyException: Error creating bean with name 'httpClientSslConfigurer' defined in class path resource [org/springframework/cloud/gateway/config/GatewayAutoConfiguration$NettyConfiguration.class]: Unsatisfied dependency expressed through method 'httpClientSslConfigurer' parameter 1: Error creating bean with name 'httpClientProperties': Could not bind properties to 'HttpClientProperties' : prefix=spring.cloud.gateway.httpclient, ignoreInvalidFields=false, ignoreUnknownFields=true

After analyzing the Maven dependency tree, the underlying dependency of spring-cloud-gateway-server contains the spring-boot-starter-validation dependency you mentioned

The following is my mvn dependency:tree

PS E:\Source\Branch\mate-cloud-plus-v1.0-20220401\mate-parent\mate-gateway> mvn dependency:tree
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
[INFO] Scanning for projects...
[INFO]
[INFO] --------------------< com.mate.cloud:mate-gateway >---------------------
[INFO] Building mate-gateway 0.2.7-SNAPSHOT
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- dependency:3.8.1:tree (default-cli) @ mate-gateway ---
[INFO] com.mate.cloud:mate-gateway:jar:0.2.7-SNAPSHOT
[INFO] +- org.springframework.cloud:spring-cloud-starter-gateway:jar:4.2.0:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-starter:jar:4.2.0:compile
[INFO] |  |  \- org.bouncycastle:bcprov-jdk18on:jar:1.78.1:compile
**[INFO] |  +- org.springframework.cloud:spring-cloud-gateway-server:jar:4.2.0:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-starter-validation:jar:3.4.0:compile**
[INFO] |  |  |  \- org.apache.tomcat.embed:tomcat-embed-el:jar:10.1.33:compile
[INFO] |  |  \- io.projectreactor.addons:reactor-extra:jar:3.5.2:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-webflux:jar:3.4.0:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-json:jar:3.4.0:compile
[INFO] |     |  +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.18.2:compile
[INFO] |     |  \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.18.2:compile
[INFO] |     +- org.springframework.boot:spring-boot-starter-reactor-netty:jar:3.4.0:compile
[INFO] |     |  \- io.projectreactor.netty:reactor-netty-http:jar:1.2.1:compile
[INFO] |     |     +- io.netty:netty-codec-http:jar:4.1.116.Final:compile
[INFO] |     |     +- io.netty:netty-codec-http2:jar:4.1.116.Final:compile
[INFO] |     |     +- io.netty:netty-resolver-dns:jar:4.1.116.Final:compile
[INFO] |     |     |  \- io.netty:netty-codec-dns:jar:4.1.116.Final:compile
[INFO] |     |     +- io.netty:netty-resolver-dns-native-macos:jar:osx-x86_64:4.1.116.Final:compile
[INFO] |     |     |  \- io.netty:netty-resolver-dns-classes-macos:jar:4.1.116.Final:compile
[INFO] |     |     +- io.netty:netty-transport-native-epoll:jar:linux-x86_64:4.1.116.Final:compile
[INFO] |     |     |  \- io.netty:netty-transport-classes-epoll:jar:4.1.116.Final:compile
[INFO] |     |     \- io.projectreactor.netty:reactor-netty-core:jar:1.2.1:compile
[INFO] |     |        \- io.netty:netty-handler-proxy:jar:4.1.116.Final:compile
[INFO] |     |           \- io.netty:netty-codec-socks:jar:4.1.116.Final:compile
[INFO] |     +- org.springframework:spring-web:jar:6.2.1:compile
[INFO] |     |  \- org.springframework:spring-beans:jar:6.2.1:compile
[INFO] |     \- org.springframework:spring-webflux:jar:6.2.1:compile
[INFO] +- com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery:jar:2023.0.3.2:compile
[INFO] |  +- com.alibaba.cloud:spring-cloud-alibaba-commons:jar:2023.0.3.2:compile
[INFO] |  +- com.alibaba.nacos:nacos-client:jar:2.4.2:compile
[INFO] |  |  +- com.alibaba.nacos:nacos-auth-plugin:jar:2.4.2:compile
[INFO] |  |  +- com.alibaba.nacos:nacos-encryption-plugin:jar:2.4.2:compile
[INFO] |  |  +- com.alibaba.nacos:nacos-logback-adapter-12:jar:2.4.2:compile
[INFO] |  |  +- com.alibaba.nacos:logback-adapter:jar:1.1.3:compile
[INFO] |  |  +- com.alibaba.nacos:nacos-log4j2-adapter:jar:2.4.2:compile
[INFO] |  |  +- commons-codec:commons-codec:jar:1.17.1:compile
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-core:jar:2.18.2:compile
[INFO] |  |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.18.2:compile
[INFO] |  |  |  \- com.fasterxml.jackson.core:jackson-annotations:jar:2.18.2:compile
[INFO] |  |  +- org.apache.httpcomponents:httpasyncclient:jar:4.1.5:compile
[INFO] |  |  |  +- org.apache.httpcomponents:httpcore-nio:jar:4.4.16:compile
[INFO] |  |  |  \- org.apache.httpcomponents:httpclient:jar:4.5.13:compile
[INFO] |  |  +- org.apache.httpcomponents:httpcore:jar:4.4.16:compile
[INFO] |  |  +- io.prometheus:simpleclient:jar:0.16.0:compile
[INFO] |  |  |  +- io.prometheus:simpleclient_tracer_otel:jar:0.16.0:compile
[INFO] |  |  |  |  \- io.prometheus:simpleclient_tracer_common:jar:0.16.0:compile
[INFO] |  |  |  \- io.prometheus:simpleclient_tracer_otel_agent:jar:0.16.0:compile
[INFO] |  |  +- org.yaml:snakeyaml:jar:2.3:compile
[INFO] |  |  \- io.micrometer:micrometer-core:jar:1.14.2:compile
[INFO] |  |     +- org.hdrhistogram:HdrHistogram:jar:2.2.2:runtime
[INFO] |  |     \- org.latencyutils:LatencyUtils:jar:2.0.3:runtime
[INFO] |  +- org.springframework.cloud:spring-cloud-commons:jar:4.2.0:compile
[INFO] |  |  \- org.springframework.security:spring-security-crypto:jar:6.4.2:compile
[INFO] |  \- org.springframework.cloud:spring-cloud-context:jar:4.2.0:compile
[INFO] +- com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-config:jar:2023.0.3.2:compile
[INFO] |  +- com.alibaba.cloud:spring-alibaba-nacos-config:jar:2023.0.3.2:compile
[INFO] |  +- org.slf4j:slf4j-api:jar:2.0.16:compile
[INFO] |  \- jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile
[INFO] +- org.springframework.cloud:spring-cloud-starter-loadbalancer:jar:4.2.0:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-loadbalancer:jar:4.2.0:compile
[INFO] |  |  \- io.projectreactor:reactor-core:jar:3.7.1:compile
[INFO] |  |     \- org.reactivestreams:reactive-streams:jar:1.0.4:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-cache:jar:3.4.0:compile
[INFO] |  |  \- org.springframework:spring-context-support:jar:6.2.1:compile
[INFO] |  |     \- org.springframework:spring-context:jar:6.2.1:compile
[INFO] |  |        \- org.springframework:spring-expression:jar:6.2.1:compile
[INFO] |  \- com.stoyanr:evictor:jar:1.0.0:compile
[INFO] +- org.springframework.boot:spring-boot-starter-actuator:jar:3.4.0:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter:jar:3.4.0:compile
[INFO] |  |  +- org.springframework.boot:spring-boot:jar:3.4.0:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-autoconfigure:jar:3.4.0:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-starter-logging:jar:3.4.0:compile
[INFO] |  |     +- ch.qos.logback:logback-classic:jar:1.5.12:compile
[INFO] |  |     |  \- ch.qos.logback:logback-core:jar:1.5.12:compile
[INFO] |  |     +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.24.3:compile
[INFO] |  |     |  \- org.apache.logging.log4j:log4j-api:jar:2.24.3:compile
[INFO] |  |     \- org.slf4j:jul-to-slf4j:jar:2.0.16:compile
[INFO] |  +- org.springframework.boot:spring-boot-actuator-autoconfigure:jar:3.4.0:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-actuator:jar:3.4.0:compile
[INFO] |  |  \- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.18.2:compile
[INFO] |  +- io.micrometer:micrometer-observation:jar:1.14.2:compile
[INFO] |  |  \- io.micrometer:micrometer-commons:jar:1.14.2:compile
[INFO] |  \- io.micrometer:micrometer-jakarta9:jar:1.14.2:compile
[INFO] +- cn.hutool:hutool-http:jar:5.8.34:compile
[INFO] |  \- cn.hutool:hutool-core:jar:5.8.34:compile
[INFO] +- org.springdoc:springdoc-openapi-starter-webflux-ui:jar:2.7.0:compile
[INFO] |  +- org.springdoc:springdoc-openapi-starter-webflux-api:jar:2.7.0:compile
[INFO] |  |  \- org.springdoc:springdoc-openapi-starter-common:jar:2.7.0:compile
[INFO] |  |     \- io.swagger.core.v3:swagger-core-jakarta:jar:2.2.25:compile
[INFO] |  |        +- org.apache.commons:commons-lang3:jar:3.17.0:compile
[INFO] |  |        +- io.swagger.core.v3:swagger-annotations-jakarta:jar:2.2.25:compile
[INFO] |  |        +- io.swagger.core.v3:swagger-models-jakarta:jar:2.2.25:compile
[INFO] |  |        \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.18.2:compile
[INFO] |  +- org.webjars:swagger-ui:jar:5.18.2:compile
[INFO] |  \- org.webjars:webjars-locator-lite:jar:1.0.1:compile
[INFO] |     \- org.jspecify:jspecify:jar:1.0.0:compile
[INFO] +- io.springboot:knife4j-openapi3-ui:jar:3.0.5:compile
[INFO] +- com.mate.cloud:mate-starter-gateway:jar:0.2.7-SNAPSHOT:compile
[INFO] |  +- org.springframework.cloud:spring-cloud-gateway-core:jar:2.2.2.RELEASE:compile
[INFO] |  +- org.springframework.boot:spring-boot-starter-data-redis-reactive:jar:3.4.0:compile
[INFO] |  |  +- io.lettuce:lettuce-core:jar:6.4.1.RELEASE:compile
[INFO] |  |  |  +- io.netty:netty-common:jar:4.1.116.Final:compile
[INFO] |  |  |  +- io.netty:netty-handler:jar:4.1.116.Final:compile
[INFO] |  |  |  |  +- io.netty:netty-resolver:jar:4.1.116.Final:compile
[INFO] |  |  |  |  +- io.netty:netty-buffer:jar:4.1.116.Final:compile
[INFO] |  |  |  |  +- io.netty:netty-transport-native-unix-common:jar:4.1.116.Final:compile
[INFO] |  |  |  |  \- io.netty:netty-codec:jar:4.1.116.Final:compile
[INFO] |  |  |  \- io.netty:netty-transport:jar:4.1.116.Final:compile
[INFO] |  |  \- org.springframework.data:spring-data-redis:jar:3.4.1:compile
[INFO] |  |     +- org.springframework.data:spring-data-keyvalue:jar:3.4.1:compile
[INFO] |  |     |  \- org.springframework.data:spring-data-commons:jar:3.4.1:compile
[INFO] |  |     +- org.springframework:spring-tx:jar:6.2.1:compile
[INFO] |  |     \- org.springframework:spring-oxm:jar:6.2.1:compile
[INFO] |  +- com.mate.cloud:mate-starter-core:jar:0.2.7-SNAPSHOT:compile
[INFO] |  |  +- cn.hutool:hutool-json:jar:5.8.34:compile
[INFO] |  |  +- com.auth0:java-jwt:jar:4.4.0:compile
[INFO] |  |  +- org.projectlombok:lombok:jar:1.18.36:compile
[INFO] |  |  +- com.google.guava:guava:jar:32.1.2-jre:compile
[INFO] |  |  |  +- com.google.guava:failureaccess:jar:1.0.1:compile
[INFO] |  |  |  +- com.google.guava:listenablefuture:jar:9999.0-empty-to-avoid-conflict-with-guava:compile
[INFO] |  |  |  +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
[INFO] |  |  |  +- org.checkerframework:checker-qual:jar:3.33.0:compile
[INFO] |  |  |  +- com.google.errorprone:error_prone_annotations:jar:2.18.0:compile
[INFO] |  |  |  \- com.google.j2objc:j2objc-annotations:jar:2.8:compile
[INFO] |  |  +- commons-lang:commons-lang:jar:2.6:compile
[INFO] |  |  +- com.alibaba:fastjson:jar:1.2.41:compile
[INFO] |  |  \- joda-time:joda-time:jar:2.10.13:compile
[INFO] |  +- cn.hutool:hutool-cache:jar:5.8.34:compile
[INFO] |  +- net.dreamlu:mica-auto:jar:1.2.3:compile
[INFO] |  |  +- org.springframework.boot:spring-boot-configuration-processor:jar:3.4.0:compile
[INFO] |  |  \- org.springframework.boot:spring-boot-autoconfigure-processor:jar:3.4.0:compile
[INFO] |  \- org.springframework.boot:spring-boot-starter-aop:jar:3.4.0:compile
[INFO] |     +- org.springframework:spring-aop:jar:6.2.1:compile
[INFO] |     \- org.aspectj:aspectjweaver:jar:1.9.22.1:compile
[INFO] +- cn.hutool:hutool-crypto:jar:5.8.34:compile
[INFO] +- com.pig4cloud.plugin:captcha-core:jar:2.2.4:compile
[INFO] |  +- com.googlecode.aviator:aviator:jar:5.3.0:compile
[INFO] |  +- javax.servlet:javax.servlet-api:jar:4.0.1:compile
[INFO] |  \- jakarta.servlet:jakarta.servlet-api:jar:6.0.0:compile
[INFO] +- jakarta.validation:jakarta.validation-api:jar:3.0.2:compile
[INFO] +- org.hibernate.validator:hibernate-validator:jar:6.1.5.Final:compile
[INFO] |  +- org.jboss.logging:jboss-logging:jar:3.6.1.Final:compile
[INFO] |  \- com.fasterxml:classmate:jar:1.7.0:compile
[INFO] \- org.springframework.boot:spring-boot-starter-test:jar:3.4.0:test
[INFO]    +- org.springframework.boot:spring-boot-test:jar:3.4.0:test
[INFO]    +- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.4.0:test
[INFO]    +- com.jayway.jsonpath:json-path:jar:2.9.0:test
[INFO]    +- jakarta.xml.bind:jakarta.xml.bind-api:jar:4.0.2:compile
[INFO]    |  \- jakarta.activation:jakarta.activation-api:jar:2.1.3:compile
[INFO]    +- net.minidev:json-smart:jar:2.5.1:test
[INFO]    |  \- net.minidev:accessors-smart:jar:2.5.1:test
[INFO]    |     \- org.ow2.asm:asm:jar:9.6:test
[INFO]    +- org.assertj:assertj-core:jar:3.26.3:test
[INFO]    |  \- net.bytebuddy:byte-buddy:jar:1.15.10:test
[INFO]    +- org.awaitility:awaitility:jar:4.2.2:test
[INFO]    +- org.hamcrest:hamcrest:jar:2.2:test
[INFO]    +- org.junit.jupiter:junit-jupiter:jar:5.11.4:test
[INFO]    |  +- org.junit.jupiter:junit-jupiter-api:jar:5.11.4:test
[INFO]    |  |  +- org.opentest4j:opentest4j:jar:1.3.0:test
[INFO]    |  |  +- org.junit.platform:junit-platform-commons:jar:1.11.4:test
[INFO]    |  |  \- org.apiguardian:apiguardian-api:jar:1.1.2:test
[INFO]    |  +- org.junit.jupiter:junit-jupiter-params:jar:5.11.4:test
[INFO]    |  \- org.junit.jupiter:junit-jupiter-engine:jar:5.11.4:test
[INFO]    |     \- org.junit.platform:junit-platform-engine:jar:1.11.4:test
[INFO]    +- org.mockito:mockito-core:jar:5.14.2:test
[INFO]    |  +- net.bytebuddy:byte-buddy-agent:jar:1.15.10:test
[INFO]    |  \- org.objenesis:objenesis:jar:3.3:test
[INFO]    +- org.mockito:mockito-junit-jupiter:jar:5.14.2:test
[INFO]    +- org.skyscreamer:jsonassert:jar:1.5.3:test
[INFO]    |  \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[INFO]    +- org.springframework:spring-core:jar:6.2.1:compile
[INFO]    |  \- org.springframework:spring-jcl:jar:6.2.1:compile
[INFO]    +- org.springframework:spring-test:jar:6.2.1:test
[INFO]    \- org.xmlunit:xmlunit-core:jar:2.10.0:test
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  5.164 s
[INFO] Finished at: 2025-02-24T17:12:58+08:00
[INFO] ------------------------------------------------------------------------
PS E:\Source\Branch\mate-cloud-plus-v1.0-20220401\mate-parent\mate-gateway>

@spencergibb
Copy link
Member

Something else in your project is managing the version of hibernate-vildator to 6.1.5.Final. The version managed by spring-boot is 8.0.2.Final https://central.sonatype.com/artifact/org.springframework.boot/spring-boot-starter-validation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants