org.springframework.beans.factory. BeanCreationException: Error creating bean with name 'houseChangeInfoController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory. BeanCreationException: Could not autowire field: private cn.teen.service. HouseChangeInfoService cn.teen.controller.HouseChangeInfoController. service; nested exception is org.springframework.beans.factory. CannotLoadBeanClassException: Error loading class [org.springframework.validation.beanvalidation. LocalValidatorFactoryBean] for bean with name 'validator' defined in class path resource [spring-mvc. xml]: problem with class file or dependent class; nested exception is java.lang. NoClassDefFoundError: javax/validation/ValidatorFactory
org.springframework.beans.factory。BeanCreationException:创建bean与错误的名字“houseChangeInfoController”:注入autowired的依赖关系失败;嵌套org.springframework.beans.factory是个例外。私人cn.teen.service BeanCreationException:不能自动装配领域。HouseChangeInfoService cn.teen.controller.HouseChangeInfoController。服务;嵌套org.springframework.beans.factory是个例外。[org.springframework.validation.beanvalidation CannotLoadBeanClassException:错误加载类。LocalValidatorFactoryBean]为bean名称验证器的类路径中定义的资源(spring mvc。类文件或xml):问题依赖类;嵌套异常. lang。NoClassDefFoundError:javax /验证/ ValidatorFactory
Caused by: org.springframework.beans.factory. BeanCreationException: Could not autowire field: private cn.teen.service. HouseChangeInfoService cn.teen.controller.HouseChangeInfoController. service; nested exception is org.springframework.beans.factory. CannotLoadBeanClassException: Error loading class [org.springframework.validation.beanvalidation. LocalValidatorFactoryBean] for bean with name 'validator' defined in class path resource [spring-mvc. xml]: problem with class file or dependent class; nested exception is java.lang. NoClassDefFoundError: javax/validation/ValidatorFactory
引起的:org.springframework.beans.factory。私人cn.teen.service BeanCreationException:不能自动装配领域。HouseChangeInfoService cn.teen.controller.HouseChangeInfoController。服务;嵌套org.springframework.beans.factory是个例外。[org.springframework.validation.beanvalidation CannotLoadBeanClassException:错误加载类。LocalValidatorFactoryBean]为bean名称验证器的类路径中定义的资源(spring mvc。类文件或xml):问题依赖类;嵌套异常. lang。NoClassDefFoundError:javax /验证/ ValidatorFacto