用maven管理jar在整合spring-security3时会出现 Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/security]
打开pom.xml将
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>3.1.3.RELEASE</version>
<type>pom</type>
<scope>compile</scope>
</dependency>
中的 <type>pom</type>去掉,其它几个包也类似。