springboot
Rm_and_Rf
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
JpaRepository查询功能
1.JpaRepository支持接口规范方法名查询。意思是只要在接口中定义的查询方法符合规范,就不用写方法是如何实现的。 目前常用的关键词如下: Keyword Sample JPQL snippet NotNull findByAgeNotNull … where x.age not null Like findByNameLike … where x.name lik...原创 2019-11-07 14:05:56 · 769 阅读 · 0 评论 -
springboot修改默认8080端口
springboot自带的Tomcat端口是8080,有时候项目多了就会引起端口占用的问题,所以我们需要修改其中的端口或者杀掉8080端口 1.修改springboot端口方法 我们只需要在 application.properties 中加这样的一句话就可以了: server.port=8004。 2.杀掉8080进程 netstat -ano | findstr 8080 //寻找8080端口...原创 2019-08-01 15:50:03 · 3201 阅读 · 0 评论
分享