会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
大聪明诶
博客园
首页
新随笔
联系
订阅
管理
2022年4月6日
记一个springboot多模块包扫描问题
摘要: 启动类上方的注解@ComponentScan(basePackages={“com.common”}),这一句实际上就已经加上了Service的组件扫描,但是这样做是有问题的,启动后服务不能正常访问。查找资料后发现是因为@ComponentScan 和@SpringBootApplication注解
阅读全文
posted @ 2022-04-06 18:54 大聪明诶
阅读(772)
评论(0)
推荐(0)
2022年3月15日
找不到mybatis配置文件
摘要: 问题所在:mybatis-config.xml前面需要加上classpath 正确写法:
阅读全文
posted @ 2022-03-15 10:42 大聪明诶
阅读(117)
评论(0)
推荐(0)
2022年3月7日
mybati嵌套映射03
摘要:
阅读全文
posted @ 2022-03-07 16:11 大聪明诶
阅读(13)
评论(0)
推荐(0)
mybatis嵌套映射02
摘要:
阅读全文
posted @ 2022-03-07 15:20 大聪明诶
阅读(19)
评论(0)
推荐(0)
mybatis的嵌套映射01
摘要:
阅读全文
posted @ 2022-03-07 15:09 大聪明诶
阅读(16)
评论(0)
推荐(0)
2022年3月5日
java连接mysql失败Path does not chain with any of the trust anchors
摘要: 可能是证书问题,把useSSL=true改为useSSL=false就好了, 有空再研究研究SSL连接。
阅读全文
posted @ 2022-03-05 10:35 大聪明诶
阅读(102)
评论(0)
推荐(0)
公告