mybatis
小王继续努力呀
知足且坚定 温柔且上进
展开
-
Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could原创 2022-10-26 09:21:26 · 155 阅读 · 1 评论 -
Can not find table primary key in Class
Can not find table primary key in Class原创 2022-10-16 13:43:00 · 6395 阅读 · 0 评论 -
Result Maps collection already contains value for com.framework.mapper.UserMapper.xml
原因:报错说是在xxx包下,这个UserMapper.xml已经存在了,就是原来我的mapper映射文件下的xml里面把这一段重复了。我当时是直接使用逆向工程重新执行了一遍,结果还是报这个错误。后来发现在UserMapper.xml文件中有重复的代码 如下图:解决方案:把这段重复的代码删除,重新运行即可!!原创 2022-09-09 10:09:17 · 215 阅读 · 0 评论 -
###Cause: java.sql.SQLException: No suitable driver found for http://www.example.com
maven搭建mybatis时出现的错误原创 2022-08-07 22:29:22 · 247 阅读 · 1 评论