×
请登录
立即登录
Github登录
博客
酷玩
分享
标签
友链
导航
登录
注册
博客
酷玩
分享
导航
FC模拟器网页版
微信公众号文章爬虫
仿抖音H5页面
博客
Springboot项目的云服务器部署
1配置好properties 2 打jar包 3云服务器安装tomcat 4 上传运行 nohup java -jar xxx.jar & nohup 常驻 不会因为你关闭命令界面而停止服务 &表示执行命令后要生成日志文件nohu...
ThinkPad
8月前
305
0
0
博客
SpringBoot 参数校验
1.加入pom支持 <!--springboot 参数校验--> <dependency> <groupId>org.hibernate</groupId> <artifactId>h...
ThinkPad
8月前
310
5
0
博客
SpringBoot 事物管理
不使用事物 定义好的cat类和dao 在junit测试中代码 cat 的构造器 public Cat(Integer id, Integer catAge, String catName) { this.id = id; this.catAge ...
ThinkPad
8月前
277
0
0
博客
SpringBoot 集成 redis
加入依赖 <!--junit--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>sprin...
ThinkPad
8月前
319
0
0
博客
SpringBoot 使用 logback 日志
logback是springboot 默认使用的日志 引入jar <!--logback 日志--> <dependency> <groupId>org.springframework.boot</...
ThinkPad
8月前
1508
0
0
博客
Springboot 使用模板引擎
spring boot使用thymeleaf 在pom.xml中引入thymeleaf 如何关闭thymeleaf缓存 编写访问模板文件controller 编写模板文件.html pom文件加入thymeleaf <dependenc...
ThinkPad
8月前
271
0
0
博客
Springboot 属性配置和使用
Spring Boot 支持多种外部配置方式 这些方式优先级如下: 命令行参数 来自java:comp/env的JNDI属性 Java系统属性(System.getProperties()) 操作系统环境变量 RandomValueProper...
ThinkPad
8月前
282
0
0
博客
Springboot 使用 jdbcTemplate 和全局异常处理
JDBCTemplate 在pom.xml加入jdbcTemplate的依赖; <dependency> <groupId>org.springframework.boot</groupId> <arti...
ThinkPad
8月前
296
0
0
博客
SpringBoot JPA/Hibernate/SpringData 进阶
上一文简单介绍了spring data jpa 和一个简单的实现 现在来详细解读下 Repository 接口是 Spring Data 的一个核心接口,它不提供任何方法,开发者需要在自己定义的接口中声明需要的方法 : public interf...
ThinkPad
8月前
258
0
0
博客
SpringBoot JPA/Hibernate/Spring Data 入门
什么是jpa JPA全称Java Persistence API.JPA通过JDK 5.0注解或XML描述对象-关系表的映射关系,并将运行期的实体对象持久化到数据库中 ==JPA(Java Persistence API)==是Sun官方提出的...
ThinkPad
8月前
286
0
0
博客
Springboot热部署 --spring-boot-devtools
•spring-boot-devtools 是一个为开发者服务的一个模块,其中最重要的功能就是自动应用代码更改到最新的App上面去。原理是在发现代码有更改之后,重新启动应用,但是速度比手动停止后再启动还要更快,更快指的不是节省出来的手工操作的时间...
ThinkPad
8月前
238
0
0
博客
SpringBoot json 解析
Spring Boot为我们良好的提供了我们需要的数据,将数据转化为json格式,然后返回 Sprigboot 默认使用的json解析技术框架是jackson 直接返回对象 @RequestMapping("/user") Cat getUser...
ThinkPad
8月前
282
0
0
博客
SpringBoot入门程序
简单的例子 本例子基于maven构建 新建maven项目,修改其pom文件 <modelVersion>4.0.0</modelVersion> <groupId>com.learn</groupId&g...
ThinkPad
8月前
251
0
0
博客
Spring Boot 系列文章
收集Spring Boot相关的学习资料,Spring Cloud点这里 重点推荐:Spring Boot 中文索引 推荐博客 liflag社区 纯洁的微笑 程序猿DD liaokailin的专栏 Spring Boot 揭秘...
ThinkPad
8月前
321
0
0
博客
SpringBoot 部署遇到的坑
启动失败原因一 no applicable action for [springProfile], current ElementPath is [[configuration][springProfile]] 原因 logback.xml 加...
ThinkPad
8月前
1193
0
0
1
...
3
4
5
6
热门文章
nacos入门--springboot服务注册与发现
2010
阅读
nginx搭建流媒体 rtmp直播服务 (超详细)
1766
阅读
如何优化 sql
1736
阅读
SpringBoot 使用 logback 日志
1508
阅读
nacos入门--配置中心Demo
1494
阅读
关注作者
微信公众号
最新发布
谁能合成大西瓜?
B 站,真滴牛逼!
【冷兔•槽】每日一冷NO.2844
【冷兔•槽】每日一冷NO.2841
【冷兔•槽】每日一冷NO.2837
友情链接
更多
小马奔腾的博客
FKUN
青石坞
IT源点
日记铺子
最新评论
yangtthi
右侧 “为您推荐”,一直悬浮。。
nshpa
空包单号网全国地址任意发、一单一用快递单号www.dydanhw.com
nshpa
快递代发,礼品代发快递单号网www.uudanhaowang.com
ThinkPad
你估计被微信封禁了
student
刷步成功了,但是微信排行榜却没有同步过去