优化异常处理

This commit is contained in:
zxm 2018-02-07 20:16:53 +08:00
parent eff0362c6e
commit 5030e8f699
2 changed files with 1 additions and 2 deletions

View File

@ -84,7 +84,7 @@
<orderEntry type="library" name="Maven: org.springframework.boot:spring-boot-autoconfigure:1.5.9.RELEASE" level="project" />
<orderEntry type="library" name="Maven: com.github.pagehelper:pagehelper-spring-boot-starter:1.2.3" level="project" />
<orderEntry type="library" name="Maven: org.mybatis:mybatis:3.4.1" level="project" />
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache-core:2.5.0" level="project" />
<orderEntry type="library" name="Maven: net.sf.ehcache:ehcache-core:2.4.8" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-ehcache:1.2.2" level="project" />
<orderEntry type="library" name="Maven: org.apache.shiro:shiro-aspectj:1.4.0" level="project" />
<orderEntry type="library" name="Maven: org.aspectj:aspectjrt:1.8.13" level="project" />

View File

@ -43,7 +43,6 @@ public class CustomException implements HandlerExceptionResolver {
modelAndView.addObject("message",message);
//指向到错误界面
//modelAndView.setViewName("error");
return mv;
}
}