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

来源:3-13 优化校验规则

宝慕林6509171

2020-07-06 11:41

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


写回答 关注

2回答

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

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

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

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

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

SpringBoot构建电商基础秒杀项目

应用SpringBoot快速搭建拥有用户、商品、交易及秒杀活动的电商秒杀应用。

49072 学习 · 954 问题

查看课程

相似问题