![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springBoot的bug大哥
文章平均质量分 96
主要是springBoot中遇到的问题
夜的全章
这个作者很懒,什么都没留下…
展开
-
在springBoot中使用Mapper类问题
文章目录背景xml文件跟mapper分开方式一application.properties主程序类Mapper方式二注意点xml文件跟mapper在同一个目录下application.properties在mapper包下主程序类感想背景版本如下:springboot=1.5.9jdk=1.8maven=3.5在springBoot中使用mapper类,因为有其xml文件的存在,所以其xml文件的存放位置不同,会导致出现运行是否能够调用xml文件的问题存在;这个问题我遇到N多次了,不好好的.原创 2021-02-18 22:12:10 · 10158 阅读 · 0 评论 -
springBoot相关问题
项目场景:主要是记录在学期springboot中遇到的问题.问题描述以及解决方法:问题一:hibernate.dialect’ not set在使用jpa的过程中,启动springboot报如下错误:Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set解决方案:是因为没有设置hibernate的方言导致的,在application.properties中添加方言如下:sprin原创 2021-02-18 17:12:26 · 384 阅读 · 2 评论