![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
striveb
趁年轻,多吃点苦吧
展开
-
springboot起步的各种痛苦
1.通过maven创建springboot项目,即引入springboot的依赖这个在我的电脑上一直弄不了,在旧电脑就可以,至今不知道原因,希望看到的朋友如果知道的话跟我说一声,一直引不进依赖,但是引进其他依赖就没问题。2.不要lib文件夹...原创 2018-07-23 20:49:08 · 292 阅读 · 0 评论 -
初学springboot遇到的一些坑(持续更新)
1.springboot有自动装配的功能,省去了spring很多繁琐的配置,但是也要注意一些地方。比如在主程序中,需要加入扫描mapper文件夹的注解:@MapperScan("com.kmbgi.project.*.*.mapper"),括号中的内容为mapper文件所在的地方。mapper配置文件中resultMap和resultType:https://www.cnblogs...原创 2018-08-17 11:49:43 · 266 阅读 · 0 评论 -
springboot启动报错:Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException:
springboot启动类启动的时候报错:Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'errorPageFilter' for bean class [org.springframework.boot.web...原创 2018-12-01 17:35:36 · 2322 阅读 · 1 评论