[英]spring-boot-starter-validation not found
I am trying to use custom validators but they are never invoked.我正在尝试使用自定义验证器,但它们从未被调用过。 I've been trying to fix this problem for days now.这几天我一直在尝试解决这个问题。 I have looked online and people are saying that SPRING 2.3+ now needs spring-boot-starter-validation to be added to the pom.我在网上看过,人们说 SPRING 2.3+ 现在需要将 spring-boot-starter-validation 添加到 pom 中。 So I did, but I receive an所以我做了,但我收到了一个
I dont understand why this is the issue and I haven't seen anyone have this problem so far.我不明白为什么会出现这个问题,到目前为止我还没有看到有人遇到这个问题。 I've looked at this thread , although the answer to that is something which the person already tried in their OP (confusing).我看过这个线程,虽然这个问题的答案是这个人已经在他们的 OP 中尝试过的东西(令人困惑)。 Any help is appreciated!任何帮助表示赞赏!
./mvnw clean package – answered by Turing85 ./mvnw clean package – Turing85回答
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.