- Arawn's Dev Blog
- Outsider's Dev Story
- Toby's Epril
- Benelog
- NHN 개발자 블로그
- SK 플래닛 기술 블로그
- OLC CENTER
- 소프트웨어 경영/공학 블로그
- 모바일 컨버전스
- KOSR - Korea Operating System …
- 넥스트리 블로그
- 리버스코어 ReverseCore
- SLiPP
- 개발자를 위하여... (Nextree 임병인 수석)
- "트위터 부트스트랩: 디자이너도 놀라워할 매끈하고 직관…
- Learning English - The English…
- real-english.com
- 'DataScience/Deep Learning' 카테…
- Deep Learning Summer School, M…
- Deep Learning Courses
민서네집
Spring Security 3.2 본문
Spring 4 버전에서 Spring Security 3.1 을 돌리니, Spring 3 버전이 아니라고 에러 메시지가 뜬다.
정보: Initializing Spring root WebApplicationContext
2015-03-26 16:06:18,475 ERROR {localhost-startStop-1} [org.springframework.security.core.SpringSecurityCoreVersion] (SpringSecurityCoreVersion.java:35) - *** Spring Major version ''3'' expected, but you are running with version: 4.1.6.RELEASE. Please check your classpath for unwanted jar files.
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
http://www.springframework.org/schema/security
http://www.springframework.org/schema/security/spring-security-3.2.xsd">
spring-security-3.1.xsd 를 spring-security-3.2.xsd 로 바꾸고, Spring Security 3.1 을 3.2 로 업그래이드 했다.
pom.xml 파일 (일부분)
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<springframework.version>4.1.6.RELEASE</springframework.version>
<springsecurity.version>3.2.7.RELEASE</springsecurity.version>
<thymeleaf.version>2.1.3.RELEASE</thymeleaf.version>
<thymeleafspringsecurity3.version>2.1.1.RELEASE</thymeleafspringsecurity3.version>
<thymeleaf-layout-dialect.version>1.2.5</thymeleaf-layout-dialect.version>
<mysql.connector.version>5.1.30</mysql.connector.version>
</properties>
<!-- Spring Security -->
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-core</artifactId>
<version>${springsecurity.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-web</artifactId>
<version>${springsecurity.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.security</groupId>
<artifactId>spring-security-config</artifactId>
<version>${springsecurity.version}</version>
</dependency>
내 STS (Spring Tool Suite) 에서
Method 'setFilterProcessesUrl' is marked deprecated
Method 'setLoginFormUrl' is marked deprecated ( ☞ Spring Security 3.1 버전에서도 남 )
Creating a Custom Login Form
http://docs.spring.io/autorepo/docs/spring-security/3.2.x/guides/form.html
Spring Security Homepage
http://projects.spring.io/spring-security/
Spring Security 4.0.0 버전은 3.x 버전에서 무엇이 바뀐 것일까?
Spring Framework Homepage
http://projects.spring.io/spring-framework/
Spring Guides
☞ Uploading Files
☞ Securing a Web Application
'Spring' 카테고리의 다른 글
[Spring Framework] JsonView 설정과 Spring 4.1에서 406 Error 대처법 (4) | 2015.03.26 |
---|---|
Spring 에서 404 error page를 Thymeleaf로 처리하기. (0) | 2015.03.24 |
Invocation of destroy method 'close' failed on bean with name 'sqlSessionTemplate' (0) | 2014.12.23 |
스프링에서 SQL 로그 사용하기 (log4jdbc,log4sql) (0) | 2014.12.11 |
인터넷에 연결 안되면 Spring Framework 에러 발생. (2) | 2014.09.04 |