StackTc 2018-06-29 09:06 采纳率: 90.9%
浏览 3643
已结题

springboot创建mapper有问题

2018-06-29 17:05:05.775  WARN 1075 --- [           main] o.s.b.f.s.DefaultListableBeanFactory     : Bean creation exception on non-lazy FactoryBean type check: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userPhoneContactMapper' defined in file [/Users/stacktc/Documents/work/gitlab/server/partTimeJob/target/classes/com/fuming/partjob/dao/UserPhoneContactMapper.class]: Cannot resolve reference to bean 'sqlSessionFactoryBean' while setting bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException: Error creating bean with name 'sqlSessionFactoryBean': Requested bean is currently in creation: Is there an unresolvable circular reference?

日志如上,同一个项目朋友的windows就没问题,我的mac为什么报创建bean有错误,
求解。

  • 写回答

5条回答

  • tjhdaxia 2018-06-29 09:13
    关注

    建议可以尝试更新maven

    评论

报告相同问题?

悬赏问题

  • ¥15 对于相关问题的求解与代码
  • ¥15 ubuntu子系统密码忘记
  • ¥15 信号傅里叶变换在matlab上遇到的小问题请求帮助
  • ¥15 保护模式-系统加载-段寄存器
  • ¥15 电脑桌面设定一个区域禁止鼠标操作
  • ¥15 求NPF226060磁芯的详细资料
  • ¥15 使用R语言marginaleffects包进行边际效应图绘制
  • ¥20 usb设备兼容性问题
  • ¥15 错误(10048): “调用exui内部功能”库命令的参数“参数4”不能接受空数据。怎么解决啊
  • ¥15 安装svn网络有问题怎么办