mpspring配置
时间: 2024-06-09 08:05:53 浏览: 3
在Spring Boot项目中,你可以通过在application.properties文件中指定配置文件的位置来进行配置。具体来说,可以使用以下属性来指定mybatis-config.xml文件的位置:
spring.banner.image.location=classpath*:mybatis-config.xml
这样,Spring Boot就会在classpath下查找mybatis-config.xml文件并进行配置。
相关推荐
![xlsx](https://img-home.csdnimg.cn/images/20210720083732.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![pptx](https://img-home.csdnimg.cn/images/20210720083543.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![xlsx](https://img-home.csdnimg.cn/images/20210720083732.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)