最简单的 SpringBoot + Mybatis + Freemarker 网页增删改查功能

上传者: luckbird | 上传时间: 2021-04-11 16:54:24 | 文件大小: 67KB | 文件类型: ZIP
* 实现最简单的 SpringBoot + Mybatis + Freemarker 网页增删改查功能,适合新接触 Java 和 SpringBoot 的同学参考 * 代码中连接的是云端的测试数据库,长期有效 * 推荐使用 IDEA 开发环境 # 开发环境部署 * 克隆或下载源代码 * 安装 JDK 1.8 * 安装 Gradle * 在 IDEA 中导入项目 * 启动项目 * 浏览器打开 http://localhost:8011/product-list 有问题可加 QQ 群讨论,群号:599320555

文件下载

资源详情

[{"title":"( 22 个子文件 67KB ) 最简单的 SpringBoot + Mybatis + Freemarker 网页增删改查功能","children":[{"title":"springboot-sample","children":[{"title":".gitee","children":[{"title":"PULL_REQUEST_TEMPLATE.zh-CN.md <span style='color:#111;'> 105B </span>","children":null,"spread":false},{"title":"ISSUE_TEMPLATE.zh-CN.md <span style='color:#111;'> 79B </span>","children":null,"spread":false}],"spread":true},{"title":"gradlew <span style='color:#111;'> 5.17KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"test","children":[{"title":"java","children":[{"title":"com","children":[{"title":"teaboot","children":[{"title":"springbootsample","children":[{"title":"SpringbootSampleApplicationTests.java <span style='color:#111;'> 355B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"main","children":[{"title":"resources","children":[{"title":"mapper","children":[{"title":"ProductMapper.xml <span style='color:#111;'> 1.66KB </span>","children":null,"spread":false}],"spread":true},{"title":"templates","children":[{"title":"product-list.ftl <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"product-edit.ftl <span style='color:#111;'> 710B </span>","children":null,"spread":false}],"spread":true},{"title":"application.yml <span style='color:#111;'> 206B </span>","children":null,"spread":false}],"spread":true},{"title":"java","children":[{"title":"com","children":[{"title":"teaboot","children":[{"title":"springbootsample","children":[{"title":"service","children":[{"title":"ProductService.java <span style='color:#111;'> 838B </span>","children":null,"spread":false}],"spread":true},{"title":"domain","children":[{"title":"Product.java <span style='color:#111;'> 776B </span>","children":null,"spread":false}],"spread":true},{"title":"controller","children":[{"title":"ProductController.java <span style='color:#111;'> 2.14KB </span>","children":null,"spread":false}],"spread":true},{"title":"dao","children":[{"title":"ProductDao.java <span style='color:#111;'> 392B </span>","children":null,"spread":false}],"spread":false},{"title":"config","children":[{"title":"MybatisDataSource.java <span style='color:#111;'> 3.04KB </span>","children":null,"spread":false},{"title":"DataSourceProperties.java <span style='color:#111;'> 4.30KB </span>","children":null,"spread":false}],"spread":false},{"title":"SpringbootSampleApplication.java <span style='color:#111;'> 340B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.05KB </span>","children":null,"spread":false},{"title":"gradle","children":[{"title":"wrapper","children":[{"title":"gradle-wrapper.properties <span style='color:#111;'> 202B </span>","children":null,"spread":false},{"title":"gradle-wrapper.jar <span style='color:#111;'> 53.43KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"README.md <span style='color:#111;'> 495B </span>","children":null,"spread":false},{"title":"gradlew.bat <span style='color:#111;'> 2.13KB </span>","children":null,"spread":false},{"title":".gitignore <span style='color:#111;'> 297B </span>","children":null,"spread":false},{"title":"build.gradle <span style='color:#111;'> 976B </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 99小飞侠9 :
    可以使用,数据库连接不上了,可以自己建一个然后添加CREATE TABLE `product` ( `id` INT NOT NULL AUTO_INCREMENT, `name` VARCHAR(5
    2019-10-18

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明