# dive-in-spring-boot **Repository Path**: who7708/dive-in-spring-boot ## Basic Information - **Project Name**: dive-in-spring-boot - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-05-08 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Spring-Boot-Reference-Guide https://doc.yonyoucloud.com/doc/Spring-Boot-Reference-Guide/index.html Spring Boot教程 https://www.yiibai.com/spring-boot ``` required a bean named 'jsr303Validator' that could not be found. 报这种错误。上面已经给出了解决方案。以下补充一点: spring-boot 版本在 1.5.2.RELEASE 之前是确实是没有 jsr303Validator, 但是与些相同的一个叫 “validator”. 1.5.2.RELEASE 将 validator 修改成了 jsr303Validator. 1.5.3.RELEASE 将303做成了Adapter,并转变成了 defaultValidator。 一直到现在的最新版本(2.1.3.RELEASE)均未改变。 低版本的springboot(1.5.12之前)中,缺少jsr303Validator bean,可以升级到springboot 1.5.2 ,或者加入bean的配置 @Bean public Validator jsr303Validator() { return Validation.byProvider(HibernateValidator.class) .configure() .failFast(true) .buildValidatorFactory() .getValidator(); } ``` [Spring boot 国际化自动加载资源文件问题](https://www.cnblogs.com/wdtzms/p/7465207.html)