![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring boot
猫头姐姐
知名互联网高级菜鸟全栈程序媛
展开
-
【JAVA】thrift接口开发手把手教程(注解方式)server端
博主第一次开发thrift接口,用的注解方式,记录一下step 1 biz层 配置thrift client bean (一个端口支持多个服务)@Configurationpublic class ThriftServerConfig { @Autowired TYourServiceImpl1 tYourService1; @Autowired TYourServiceImpl2 tYourService2; @Bean(name = "serverPubl原创 2020-11-27 14:43:38 · 2606 阅读 · 2 评论 -
【报错排查】spring boot bean丢失报错
报错A文件DAO的bean注入失败Unsatisfied dependency expressed through field 'xxxDao'; nested exception is org.springframew……排查后发现,实际是B文件的DAO和mapper.xml头文件没有配置好,虽然不知道为啥报错会乱报,还是记下来当个经验好了~...原创 2019-09-26 11:07:14 · 635 阅读 · 0 评论