springBoot
志哥_WZ
软件工程师
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
SpringBoot入门神器
推存两篇好文章,学完你就基本掌握了IDEA+Maven+Springboot开发步骤。1、SpringBoot教程https://www.yiibai.com/spring-boot2、IDEA平台开发MAVEN+Spring boot项目例子https://www.cnblogs.com/a8457013/p/9254917.html...原创 2019-03-03 20:17:08 · 166 阅读 · 0 评论 -
springboot项目调试和发布的的绝对路径和根目录问题
springboo在开发和发布项目时的路径问题总结如下:1、springboot获取当前项目路径的地址System.getProperty("user.dir")输出目录: G:\outshine\wangsoso2、获取classes目录绝对路径String path = ClassUtils.getDefaultClassLoader().getResource("")....原创 2019-03-08 09:50:32 · 10283 阅读 · 3 评论 -
SpringBoot+Mybatis连接MySQL数据库方法及注意事项
1、POM依赖<dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId></dependency><dependency> &a原创 2019-03-16 15:31:22 · 24257 阅读 · 3 评论
分享