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\项目\miaosha\target\classes\com\miaoshaproject\validator\ValidatorImpl.class]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
有困难就看评论区...赞
找了一中午的错 终于找到了
依赖的groupid和版本变了 所以之前的不能用。。。