- 博客(3)
- 收藏
- 关注
转载 springBoot配置定时任务 @Scheduled
新知识点,@Scheduled, 作用:可以通过@Scheduled配置定时任务。 1 package com.example.demo.scheduled; 2 3 import java.time.LocalDateTime; 4 import java.time.format.DateTimeFormatter; 5 6 i...
2019-08-13 23:17:00 117
转载 SpringBoot启动加载类ApplicationRunner
今天遇到一个新的知识点,ApplicationRunner。 作用:在springBoot启动完毕后,调用实现了ApplicationRunner接口的run方法。 1 @Component 2 public class myApplicationRunner implements ApplicationRunner{ 3 4 @Override 5 ...
2019-08-13 22:54:00 132
转载 Maven 问题 Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 的处理
一、问题描述 Maven项目报错,pom.xml文件报错。 二、报错详细 Failure to transfer org.apache.maven.plugins:maven-surefire-plugin:pom:2.12.4 from http://uk.maven.org/maven2 was cached in the local repository, res...
2019-08-03 13:41:00 380
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人