![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SpringBoot
renjf_spring
这个作者很懒,什么都没留下…
展开
-
搭建 Eureka注册中心
1.添加Eureka Server依赖<dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId> </dependency></depend.原创 2021-12-24 18:35:54 · 310 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found) --整合Mybatis报错解决方案
在整合mybatis时遇到了这样的坑,报错如下:org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.atguigu.eduservice.mapper.EduTeacherMapper.teacherListQuery at com.baomidou.mybatisplus.core.override.PageMapperMethod$SqlCommand.<init>(原创 2021-09-15 17:27:42 · 290 阅读 · 0 评论 -
SpringBoot使用@Scheduled实现简单的定时任务
1.在启动类里面使用@EnableScheduling 注解开启功能,其中@EnableScheduling注解的作用是发现注解@Scheduled的任务并后台执行。import org.springframework.boot.SpringApplication;import org.springframework.boot.autoconfigure.SpringBootApplication;import org.springframework.scheduling.annotation..原创 2021-08-04 16:29:19 · 93 阅读 · 0 评论