关于 A method overriding another method must not redefine the parameter constraint configuration 解决方法
关于 A method overriding another method must not redefine the parameter constraint configuration 解决方法
- 使用的
@Validated 校验参数接口参数和实现类参数要保持一直,不然会报错。 - 接口:
1 | |
- 实现类
1 | |
http://ysocket.pages.dev/2023/11/11/A-method-overriding-another-method-must-not-redefine-the-parameter-constraint-configuration/