为了账号安全,请及时绑定邮箱和手机立即绑定

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


正在回答

2 回答

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

0 回复 有任何疑惑可以回复我~

找了一中午的错 终于找到了http://img1.sycdn.imooc.com//5f02c422000143b903930101.jpg

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

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

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

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信