spring boot
文章平均质量分 77
It-shuang
我是一名初级软件员
展开
-
Spring 异常处理HandlerExceptionResolver
Spring的异常统一处理非常简单,首先我们需要看一下Spring中定义的HandlerExceptionResolver接口: /** * Interface to be implemented by objects than can resolve exceptions thrown * during handler mapping or execution, i转载 2016-11-16 10:18:27 · 306 阅读 · 0 评论 -
Spring Boot 定时任务的使用
下面是代码类:package org.springboot.sample.config; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.context.annotation.Configuration; import org.springframework.schedulin转载 2016-11-18 16:53:07 · 208 阅读 · 0 评论