2019年2月16日

四种消息转换器

摘要: 11 阅读全文

posted @ 2019-02-16 02:19 Mofitor 阅读(116) 评论(0) 推荐(0) 编辑

RestTemplate 和 HttpClient 详解

摘要: 10 阅读全文

posted @ 2019-02-16 02:18 Mofitor 阅读(360) 评论(1) 推荐(0) 编辑

Spring 拦截器

摘要: 7 阅读全文

posted @ 2019-02-16 02:16 Mofitor 阅读(55) 评论(0) 推荐(0) 编辑

Spring 自定义注解

摘要: 8 阅读全文

posted @ 2019-02-16 02:16 Mofitor 阅读(67) 评论(0) 推荐(0) 编辑

Spring MVC的消息转换器及自定义消息转换器

摘要: 5 阅读全文

posted @ 2019-02-16 02:15 Mofitor 阅读(136) 评论(0) 推荐(0) 编辑

Spring Boot logging 引入其他配置文件及静态资源

摘要: 4 阅读全文

posted @ 2019-02-16 02:13 Mofitor 阅读(117) 评论(0) 推荐(0) 编辑

@Condition 条件注解

摘要: 3 阅读全文

posted @ 2019-02-16 02:12 Mofitor 阅读(342) 评论(0) 推荐(0) 编辑

Maven 常用命令

摘要: 2 阅读全文

posted @ 2019-02-16 02:11 Mofitor 阅读(50) 评论(0) 推荐(0) 编辑

Spring Boot logging 配置及相关属性

摘要: 1 阅读全文

posted @ 2019-02-16 02:10 Mofitor 阅读(234) 评论(0) 推荐(0) 编辑

spring boot的项目名称问题

摘要: spring boot直接执行main函数时是不需要加项目名称,但是可以在application配置文件中配置server.context-path=/*来配置项目名称; spring mvc的运行方式是将打成的war包在tomcat中运行,这种情况下访问需要在url中加入项目名。 阅读全文

posted @ 2019-02-16 02:09 Mofitor 阅读(261) 评论(0) 推荐(0) 编辑

spring boot的项目结构问题

摘要: 问题:spring boot项目能够正常启动,但是在浏览器访问的时候会遇到404的错误,Whitelable Error Page 404 分析及解决方案:首先Application文件要放在项目的外层,也就是pom文件中groupId所在路径下,在这个目录下或者再往上也可以,Application 阅读全文

posted @ 2019-02-16 02:05 Mofitor 阅读(121) 评论(0) 推荐(0) 编辑

@RestController无法自动注入的问题

摘要: 今天在练习spring boot的时候,发现在ide中无法将@RestController注入到代码中,@RestController注解依赖的包是org.springframework.web,检查工程lib中,发现这个包已经存在,百度检查问题,有说版本的问题的,但是检查了版本信息发现并没有问题, 阅读全文

posted @ 2019-02-16 01:55 Mofitor 阅读(1140) 评论(0) 推荐(0) 编辑

导航