![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
什么名字才不重复
代码搬运工?
展开
-
springboot定时任务的实现
今天在项目中需要用到一个定时任务的功能,项目使用的框架是springboot,在此记录一下再springboot中使用定时任务的一种方式,也希望能帮到有需要的小伙伴。第一步:添加依赖<!-- 定时任务的依赖 --><dependency> <groupId>org.springframework.boot</groupId...原创 2018-07-26 17:23:46 · 189 阅读 · 0 评论 -
Caused by: java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver
1.启动springboot时候报错Caused by: java.lang.IllegalStateException: Cannot load driver class: com.mysql.jdbc.Driver原因:mysql驱动版本号不对解决办法:更换mysql驱动版本号报错:原因:mysql驱动的版本不对解决办法:在pom.xml文件中添加一个版本号码...原创 2019-04-29 20:22:15 · 3153 阅读 · 0 评论