中巴代表出席巴西圣路易斯港合作项目奠基仪式
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 15, 2015 at 10:11 | comment | added | mark951131b | Adding EnableWebMvn also didn't help. | |
Dec 15, 2015 at 10:00 | history | edited | WeMakeSoftware | CC BY-SA 3.0 |
another update
|
Dec 15, 2015 at 9:53 | comment | added | mark951131b |
Weird. If I add that Bean, validation doesn't work either. But if I try to Autowire the validator into my endpoint, I get org.springframework.beans.factory.NoUniqueBeanDefinitionException: No qualifying bean of type [javax.validation.Validator] is defined: expected single matching bean but found 2: localValidatorFactoryBean,mvcValidator And if I remove the Bean and leave the Autowire, I get No qualifying bean of type [javax.validation.Validator] found for dependency
|
|
Dec 15, 2015 at 9:31 | history | edited | WeMakeSoftware | CC BY-SA 3.0 |
updated the answer
|
Dec 15, 2015 at 9:27 | comment | added | mark951131b | Thanks, but it doesn't work. Neither does Component. | |
Dec 15, 2015 at 9:14 | history | answered | WeMakeSoftware | CC BY-SA 3.0 |