踩坑
勺子先森
这个作者很懒,什么都没留下…
展开
-
spring-boot 学习之 spring boot configuration annotation processor not found in classpath
官方解决方案,maven引入依赖<dependency> <groupId> org.springframework.boot </groupId> <artifactId> spring-boot-configuration-processor </artifactId> <optional> tru...原创 2018-05-28 23:03:52 · 303 阅读 · 0 评论 -
spring boot @Autowried提示报错,但实际启动未报错
报错类型 Could not autowire. No beans of '' type found. less... (Ctrl+F1) Checks autowiring problems in a bean class.解决方法Settings - Editor - Inspections - Spring - Spring Core - Code - Autowiring f...原创 2018-08-06 13:44:35 · 644 阅读 · 0 评论 -
spring boot api 进不了debug
debug启动了项目 进入不了feign接口的实现类,但是却能看到调用了feign接口原因:feign接口实现类中入参未加@RequestBody注解,没法将postman传过来的json字符串转换成对象解决:增加@RequestBody注解 ...原创 2018-08-24 22:04:15 · 967 阅读 · 0 评论 -
前端传的日期后端接受不到“时分秒”
解决方法:在变量上加上注解对时间进行格式化 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")原创 2018-09-03 10:58:22 · 6327 阅读 · 0 评论