zuihou opened a new issue, #15339: URL: https://github.com/apache/dubbo/issues/15339
### Pre-check - [x] I am sure that all the content I provide is in English. ### Search before asking - [x] I had searched in the [issues](https://github.com/apache/dubbo/issues?q=is%3Aissue) and found no similar issues. ### Apache Dubbo Component Java SDK (apache/dubbo) ### Dubbo Version 请问在springboot 项目中,如何全局配置 jvalidationNew ? 使用 @DubboService(validation = "jvalidationNew") 有效, ``` // 生效 @DubboService(validation = "jvalidationNew") public class OpenPaymentImpl implements OpenPayment { } ``` 但若只配置 dubbo.consumer.validation=jvalidationNew , @DubboService() 不设置validation 则不生效。 ``` // application.properties dubbo.consumer.validation=jvalidationNew // 执行校验,但调用里面的方法会报错(和1楼的错误一样) @DubboService(validation = "true") public class OpenPaymentImpl implements OpenPayment { } // 无法执行校验,但调用里面的方法不会报错 @DubboService public class OpenPaymentImpl implements OpenPayment { } ``` ### Steps to reproduce this issue - ### What you expected to happen - ### Anything else _No response_ ### Are you willing to submit a pull request to fix on your own? - [ ] Yes I am willing to submit a pull request on my own! ### Code of Conduct - [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
