- 博客(2)
- 收藏
- 关注
原创 在使用MybatisPlus逆向工程生成代码时,代码不报错,但是无法找到生成文件的问题的解决
如果在使用MybatisPlus逆向工程时,出现如下情况:运行结果显示文件生成完成,但是在项目目录下却无法找到生成的文件,我们将代码中全局配置部分中生成文件的位置由相对路径改为绝对路径:相对路径如下: // 全局配置 GlobalConfig gc = new GlobalConfig(); String projectPath = System.getProperty("user.dir"); gc.setOutputDir(projectPath + "/src/ma
2021-12-11 19:19:02 2850 1
原创 在创建springboot项目时,pom.xml出Could not find artifact org.springframework.boot:spring-boot-maven-plugin错误
解决方法: <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin>```以上为原始插件配置代码,只需再动态添加一行版本号代码,如下:
2021-11-07 19:52:10 866
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人