问答详情
源自:3-13 优化校验规则

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.运行的时候才报错

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


提问者:宝慕林6509171 2020-07-06 11:41

个回答

  • weixin_慕粉4330580
    2020-12-17 17:16:58

    有困难就看评论区...赞

  • 宝慕林6509171
    2020-07-06 14:27:16

    找了一中午的错 终于找到了http://img3.mukewang.com/5f02c422000143b903930101.jpg

    依赖的groupid和版本变了 所以之前的不能用。。。