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
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