简体   繁体   English

未找到 spring-boot-starter-validation

[英]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.

相关问题 未找到依赖项 'org.springframework.boot:spring-boot-starter-validation:2.5.1' - Dependency 'org.springframework.boot:spring-boot-starter-validation:2.5.1' not found Spring 带有 spring-boot-starter-validation 的引导验证不适用于 Spring 引导版本 2.4.4 - Spring Boot Validation with spring-boot-starter-validation is not working for Spring boot version 2.4.4 找不到gRPC Spring Boot Starter Maven - gRPC Spring Boot Starter Maven Not Found 使用Spring Cloud Starter安全性的404 Not Found Spring Boot应用程序 - 404 Not Found Spring Boot application using spring cloud starter security 在一个简单的 Maven 项目中找不到依赖 spring-boot-starter-security - The dependency spring-boot-starter-security is not found in a simple Maven project 添加spring-boot-starter-parent会删除javax.validation。* - Adding spring-boot-starter-parent removes javax.validation.* 无法修复“未找到 spring-boot-starter-parent-2.7.1”错误 - cant fix the 'spring-boot-starter-parent-2.7.1 not found' error Spring 引导启动器 - RestTemplate - Spring Boot starter - RestTemplate Spring 引导 - Spring 引导启动器执行器问题 - Spring Boot - Issue with Spring Boot Starter Actuator 未找到依赖项 'org.springframework.boot:spring-boot-starter-web:2.3.0.RELEASE' - Dependency 'org.springframework.boot:spring-boot-starter-web:2.3.0.RELEASE' not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM