摘要: 测试环境:spring boot +mybatis 1.任意编写一个sql查询语句: <select id="queryById" parameterType="String" resultMap="resultMap"> select a.* from gd_auths a join gd_rol 阅读全文
posted @ 2022-02-23 19:25 哪儿都通张楚岚 阅读(201) 评论(0) 推荐(0)
摘要: 在使用springboot的过程中,遇到过各种各样的小问题。 下面我将我所遇到过得问题做一个小的总结,算是做一个记录。 1. **导包错误导致的启动程序时报错:**Could not autowire. No beans of 'xxxx' type found(或者required a bean 阅读全文
posted @ 2022-02-19 19:55 哪儿都通张楚岚 阅读(221) 评论(0) 推荐(0)
摘要: 1.Spring IoC的概念: Spring 中将每个需要管理的对象称为 Spring Bean ,简称Bean,而Spring中用来管理这些对象的容器就被称为 Spring IoC。 2.Spring IoC实现的理论基础: 所有IoC容器都需要实现接口 BeanFactory,下面截取Bean 阅读全文
posted @ 2022-02-18 15:13 哪儿都通张楚岚 阅读(86) 评论(0) 推荐(0)