yanghao605 commented on issue #3354:
URL:
https://github.com/apache/servicecomb-java-chassis/issues/3354#issuecomment-1291651241
我在2.6.0版本的chassis中在对象中使用@NotNull注解的时候,是把servicecomb中的hibernate-validator以及jakarta.validation-api排除,使用spring-boot-starter-validation,jakarta.validation-api
3.0
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId>
<version>2.6.7</version>
</dependency>
<dependency>
<groupId>jakarta.validation</groupId>
<artifactId>jakarta.validation-api</artifactId>
<version>3.0.0</version>
</dependency>
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]