博客

  • Linux防火墙firewall、iptables

    博客

    一、iptables防火墙 1、基本操作 查看防火墙状态 service iptables status 查看iptables规则 iptables -nvL 停止防火墙 service iptables stop 启动防火墙service ip...

    2020-07-05 11117 0
    阅读更多
  • 深入理解 HashMap

    博客

    什么是HashMap HashMap是用哈希表(直接一点可以说数组加单链表)+红黑树实现的map类 HashMap是一个用于存储Key-Value键值对的集合 HashMap数据结构 HashMap存储的是key-value的键值对,允许key...

    2020-07-05 10779 0
    阅读更多
  • Springboot 集成 Swagger

    博客

    1添加pom <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId&g...

    2020-07-02 10409 0
    阅读更多
  • Springboot项目的云服务器部署

    博客

    1配置好properties 2 打jar包 3 上传运行 nohup java -jar xxx.jar & nohup 常驻 不会因为你关闭命令界面而停止服务 &表示执行命令后要生成日志文件nohup.out 也可以指定日志文...

    2020-07-01 10684 0
    阅读更多
  • SpringBoot 参数校验

    博客

    1.加入pom支持 <!--springboot 参数校验--> <dependency> <groupId>org.hibernate</groupId> <artifactId>h...

    2020-07-01 8987 0
    阅读更多
  • SpringBoot 事物管理

    博客

    不使用事物 定义好的cat类和dao 在junit测试中代码 cat 的构造器 public Cat(Integer id, Integer catAge, String catName) { this.id = id; this.catAge ...

    2020-07-01 10701 0
    阅读更多
  • SpringBoot 集成 redis

    博客

    加入依赖 <!--junit--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>sprin...

    2020-07-01 8282 0
    阅读更多
  • SpringBoot 使用 logback 日志

    博客

    logback是springboot 默认使用的日志 引入jar <!--logback 日志--> <dependency> <groupId>org.springframework.boot</...

    2020-07-01 12225 0
    阅读更多
  • Springboot 使用模板引擎

    博客

    spring boot使用thymeleaf 在pom.xml中引入thymeleaf 如何关闭thymeleaf缓存 编写访问模板文件controller 编写模板文件.html pom文件加入thymeleaf <dependenc...

    2020-07-01 10806 0
    阅读更多
  • Springboot 属性配置和使用

    博客

    Spring Boot 支持多种外部配置方式 这些方式优先级如下: 命令行参数 来自java:comp/env的JNDI属性 Java系统属性(System.getProperties()) 操作系统环境变量 RandomValueProper...

    2020-07-01 10882 0
    阅读更多
共7页68条记录 首页 上页 1234567 下页 尾页
博客

选择自己所爱的,爱自己所选择的。

168 文章 2364985 浏览 3 评论

标签云

站点信息

  • 建站时间:2020-10-01
  • 更新时间:2026-11-09
  • 文章统计:168篇文章
  • 标签总数:166个
  • 加我微信:扫码,加我微信