摘要:
1 pom.xml文件 注:热部署功能spring-boot-1.3开始有的 注:project 中添加 spring-boot-maven-plugin,主要在eclipse中使用,idea中不需要添加此配置。 2 更改idea配置 1) “File” -> “Settings” -> “Buil 阅读全文
posted @ 2019-01-22 17:00
好记性不如烂笔头=>
阅读(1035)
评论(0)
推荐(0)
摘要:
springboot 静态资源访问: 这是springboot 默认的静态资源访问路径 访问顺序依次从前到后(http://localhost:8080/bb.jpg) spring.resources.static-locations = classpath:/META-INF/resources 阅读全文
posted @ 2019-01-22 15:39
好记性不如烂笔头=>
阅读(36180)
评论(0)
推荐(0)
摘要:
Jackson常用的注解使用和使用场景: 接下来我们在看一段代码,这段代码是常用注解在实体类User中的简单使用:package zone.reborn.springbootstudy.entity; import java.util.Date; import com.fasterxml.jacks 阅读全文
posted @ 2019-01-22 09:45
好记性不如烂笔头=>
阅读(1741)
评论(0)
推荐(0)

浙公网安备 33010602011771号