mybatis
shiqianxiSHIQIANXI
这个作者很懒,什么都没留下…
展开
-
mybatis-generator报错<properties> resource datasource.properties does not exist
配置mybatis-generator后,运行出现以下错误:<properties> resource datasource.properties does not exist原因:properties会去src/main/resourses目录下寻找,而我们经常将目录再添加一层conf或者config,就要修改指向conf或者config目录。修改之后报相同错误:<properties resource="config/datasource.properties">&l原创 2021-07-13 13:34:20 · 2085 阅读 · 0 评论 -
IDEA使用mybatis-generator以及配上mysql8.0.3版本遇到的坑
1.添加插件,在pom文件的下的添加以下配置<!-- mybatis-generator --> <plugin> <groupId>org.mybatis.generator</groupId> <artifactId>mybatis-generator-maven-plugin</artifactId> <原创 2020-11-05 19:26:44 · 556 阅读 · 0 评论