Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.運(yùn)行的時(shí)候才報(bào)錯(cuò)
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'user': Unsatisfied dependency expressed through field 'userService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userService': Unsatisfied dependency expressed through field 'validator'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'validatorImpl' defined in file [G:\尚硅谷\Java\項(xiàng)目\miaosha\target\classes\com\miaoshaproject\validator\ValidatorImpl.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
2020-12-17
有困難就看評(píng)論區(qū)...贊
2020-07-06
找了一中午的錯(cuò) 終于找到了
依賴的groupid和版本變了 所以之前的不能用。。。