前端main.js发送ajax请求失404(https://127.0.0.1/manager/wizard/getUserAndModuleInfo.action)
Unable to create a Configuration, because no Bean Validation provider could be found. Add a provider like hibernate Validator (RI) to your classpath.
此错误会导致spring mvc无法访问到controller的服务。
解决方案:通过查看日志tomcat日志localhost.log发现错误Add a provider like Hibernate Validator (RI) to your classpath,网上查找后得到需要在pom文件中增加依赖关系
<dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>5.2.4.Final</version>
</dependency>