![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
笔记
金字塔没那么大
没有解决不了的问题,只有没能力解决的
展开
-
springboot使用Handler拦截器
需要创建类并实现HandlerInterceptor接口,其中有三个方法需要重现分别为preHandle() 、 afterCompletion() 以及 postHandle(),分别对应前拦截,后拦截,以及进入ModelAndView后和返回前拦截public class MyHandlerInterceptor implements HandlerInterceptor { pu...原创 2019-10-01 17:09:40 · 1397 阅读 · 0 评论 -
maven更换阿里云中央仓库镜像
由于maven默认设置的是指向国外的中央仓库,所以下载的时候会很慢,甚至有时候卡住不动。所以如果想让maven快速的下载相关的jar包,可以将地址设置成阿里云的中央仓库镜像,下边介绍如何更改maven的中央仓库地址设置成阿里云的中央仓库镜像打开本地maven的conf文件夹,打开settiongs.xml找到mirrors的标签,在里边添加这一段 <!-- 阿里云中央仓库 --&...原创 2019-07-05 21:45:16 · 577 阅读 · 0 评论