- 博客(3)
- 收藏
- 关注
原创 SpringBoot
@ControllerAdvice public class ParentException { @ExceptionHandler(value={java.lang.ArithmeticException.class}) public ModelAndView arithmeticExceptionHandler(Exception e){ M...
2019-01-14 10:50:17
99
原创 SpringBoot 异常处理
@Bean public SimpleMappingExceptionResolver getSimpleMappingExceptionResolver(){ SimpleMappingExceptionResolver resolver = new SimpleMappingExceptionResolver(); ...
2019-01-14 10:47:48
109
原创 SpringBoot 的POM文件
SpringBoot可用pom文件 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http:...
2019-01-14 10:14:40
187
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅