摘要:
用国外的maven仓库实在太慢了,阿里云的仓库速度非常快,推荐使用。在settings.xml中增加如下内容,重新import changes即可 <mirrors> <mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus 阅读全文
posted @ 2017-02-03 20:10
贝隆
阅读(302)
评论(0)
推荐(0)
|
摘要:
用国外的maven仓库实在太慢了,阿里云的仓库速度非常快,推荐使用。在settings.xml中增加如下内容,重新import changes即可 <mirrors> <mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus 阅读全文
posted @ 2017-02-03 20:10
贝隆
阅读(302)
评论(0)
推荐(0)
摘要:
搭建一个web app框架,原来用的是log4j,看到log4j2的介绍,性能比log4j要好。记录下遇到的问题。 配置好log4j2在Resources/config目录下,运行时提示log4j2找不到配置。 之前web.xml最顶上的配置是: <web-app xmlns:xsi="http:/ 阅读全文
posted @ 2017-01-26 15:59
贝隆
阅读(238)
评论(0)
推荐(0)
摘要:
filter标签说明 filter和filter-mapping是成对出现的: <!--映射过滤器--> <filter-mapping> <filter-name>FilterDemo02</filter-name> <!--“/*”表示拦截所有的请求 --> <url-pattern>/*</u 阅读全文
posted @ 2017-01-26 15:54
贝隆
阅读(4930)
评论(0)
推荐(1)
|