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

chapter2-3 校验的错误不显示 #54

Open
njupt-shao opened this issue Aug 24, 2020 · 2 comments
Open

chapter2-3 校验的错误不显示 #54

njupt-shao opened this issue Aug 24, 2020 · 2 comments

Comments

@njupt-shao
Copy link

发起校验不通过的请求时,确认校验是执行了的,但是没有错误的详细信息。swagger文档中所有的校验都没有体现。请问是什么原因。
图片
图片
图片
图片

@ghost
Copy link

ghost commented Aug 24, 2020

image

我这边没有问题,检查一下lombok插件是否安装,maven依赖是否全部导入成功。如果还有问题,把代码发来看看

@2019012971
Copy link

因为Springboot2.3以上版本是需要单独引用数据校验的依赖的,把版本号改成2.3以下版本就把问题解决了。

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

No branches or pull requests

2 participants