做条咸鱼
2024-01-31
【伙伴匹配系统问题】我用宝塔部署后端是可以正常部署的,然后用docker可以构建镜像,但是运行镜像的时候就会提示bean没法注入,找了半天也没发现代码的异常 报错: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'teamController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userServiceImpl': Lookup method resolution failed; nested exception is java.lang.IllegalStateException: 请问各位有遇到过类似的情况吗 【已解决】 userServiceImpl类中pair导错包了,改成 'import org.apache.commons.math3.util.Pair' 就ok了 #提问# 后端
0个评论
点击登录,快来和大家讨论吧~
表情
图片
暂无评论
下载 APP