[Error] 스프링 시큐리티 관련 회원가입시 한글 깨짐 문제

2022. 8. 1. 18:54·Trouble Shooting(Error)
728x90
반응형

회원가입시 비밀번호를 암호화하기 위해서 스프링 시큐리티를 사용했다.

 

스프링 시큐리티 사용 전에는 한글로 회원가입 잘 됐었는데 갑자기 이상한 문자로 나오기 시작..

 

검색을 하여 이것저것 테스트하고 해결한 결론은 아래와 같다.

 

web.xml 파일에서 스프링 시큐리티 필터보다 인코딩 필터가 위에 있어야 하고

 

servlet-context.xml 파일에 jsp 페이지에 추가하는 utf-8 설정을 추가해주었더니 해결이 되었다.

 

참고

https://thefif19wlsvy.tistory.com/150

https://engineeringcode.tistory.com/30

 

728x90
반응형

'Trouble Shooting(Error)' 카테고리의 다른 글

[Error] 이클립스 - Could not launch external web browser for  (0) 2022.08.04
[Error] 로그인 시 에러 발생 - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException:  (0) 2022.08.01
[Error] 회원가입시 생년월일 받아올 때 Failed to convert value of type 'java.lang.String' to required type 'java.util.Date' 문제  (0) 2022.07.30
[Java_Error] Exception in thread "main" java.lang.IllegalStateException: Cannot load configuration class  (0) 2022.07.12
[Java_Error] Exception in thread "main" org.springframework.beans.factory.BeanCreationException  (0) 2022.07.12
'Trouble Shooting(Error)' 카테고리의 다른 글
  • [Error] 이클립스 - Could not launch external web browser for
  • [Error] 로그인 시 에러 발생 - org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException:
  • [Error] 회원가입시 생년월일 받아올 때 Failed to convert value of type 'java.lang.String' to required type 'java.util.Date' 문제
  • [Java_Error] Exception in thread "main" java.lang.IllegalStateException: Cannot load configuration class
야리니
야리니
오늘보다 내일 더 성장하는 개발자가 되기 위한 야리니 블로그입니다 :)
    반응형
    250x250
  • 야리니
    야리니의 step by step
    야리니
  • 링크

    • GitHub
    • Linkedin
  • 전체
    오늘
    어제
    • 분류 전체보기 (477)
      • TIL (379)
        • Java (97)
        • Kotlin (28)
        • JPA (16)
        • Spring (37)
        • Oracle (22)
        • JDBC (7)
        • Web(HTML, CSS, JS, jQuery) (90)
        • View Template (31)
        • AWS (7)
        • HTTP (7)
        • CS (5)
        • Linux, Unix (2)
        • Python (20)
      • Trouble Shooting(Error) (37)
      • Algorithm (15)
      • Git,GitHub (8)
      • Diary (23)
      • 독서 (9)
      • Etc (6)
        • Mac (1)
        • 학원준비과정 (2)
  • 블로그 메뉴

    • 방명록
    • 태그
  • 공지사항

    • 안녕하세요 :)
  • 인기 글

  • 태그

    Kotlin
    CSS
    쌍용교육센터
    코틀린
    백엔드 개발자
    HTML
    java기초
    oracle
    java
    국비지원학원
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.2
야리니
[Error] 스프링 시큐리티 관련 회원가입시 한글 깨짐 문제
상단으로

티스토리툴바