Jwhy's Blogitory
close
프로필 배경
프로필 로고

Jwhy's Blogitory

  • 분류 전체보기 (114)
    • Book Study (49)
      • [Java] 이펙티브 자바 (19)
      • [Kotlin] 코틀린 코루틴 (6)
      • [Kotlin] 코틀린 인 액션 (4)
      • [Kotlin] 객체에서 함수로 (4)
      • [Web] 웹을 지탱하는 기술 (9)
      • [Web] HTTP2 IN ACTION (5)
      • [Spring] 토비의 스프링 3.1 (0)
      • [Theory] 출.스.마 (1)
      • [CS] 누구나 자료구조와 알고리즘 (1)
    • Devlog (6)
      • Kotlin (1)
      • Project (2)
      • Java (0)
      • Git (3)
    • Kotlin (13)
      • 이론 (1)
      • 기능 정리 (1)
      • [Inflearn] 코틀린 입문 (11)
    • Spring (27)
      • 이론 (1)
      • 프로젝트 (1)
      • 트러블 슈팅 (13)
      • 기능 정리 (11)
      • 리뷰 (1)
    • Java (2)
      • 이론 (2)
    • PS (13)
      • 그래프 (2)
      • 이론 (1)
      • 정렬 (2)
      • 컬렉션 (0)
      • 백트래킹 (6)
      • DFS (1)
      • DP (1)
    • DevOps (4)
      • AWS (4)
  • 홈
  • 태그
  • 방명록

[Spring] - SpringActionTagProcessor

💬 상황 설명 간단하게 로그인 페이지를 매핑하기 위해 @GetMapping으로 연결해준 뒤, LoginRequestDto를 model에 담아 View에 보내준 상태에서 해당 에러가 발생했다. [THYMELEAF][http-nio-8080-exec-1] Exception processing template "login-form": An error happened during template parsing (template: "class path resource [templates/login-form.html]") org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class ..

  • format_list_bulleted Spring/트러블 슈팅
  • · 2023. 9. 10.
  • textsms

[Spring] - Entity Manager Factory 에러

💬 상황 설명 레거시 프로젝트를 리팩토링하기 위해 실행시키니 아래와 같은 에러 구문 확인 Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEn..

  • format_list_bulleted Spring/트러블 슈팅
  • · 2023. 9. 10.
  • textsms

[Spring] - PasswordEncoder 에러

💬 상황 설명 비밀번호 변경 기능을 구현하던 중 아래와 같은 에러 구문을 확인했다. log도 없이 단순히 아래 구문만 뜬게 이상하여 Bean 등록이 제대로 되어있는지, 로직에는 문제가 없는지 확인을 했지만 아무런 문제가 없었다. Empty encoded password 🛠 구현 코드 public class MemberController { @PostMapping("...") public String doModifyPassword(ModifyPasswordDto dto, @AuthenticationPrincipal MemberContext context){ if(checkMatchPassword(context.getMember().getUsername(), dto.getOldPassword())){ .....

  • format_list_bulleted Spring/트러블 슈팅
  • · 2023. 9. 10.
  • textsms

[Spring] - SimpleMailMessage 에러

💬 상황 설명 회원가입 시 이메일 발송을 구현하던 중 발송 과정에서 아래와 같은 에러 구문 확인 534-5.7.9 application-specific password required. learn more at 534 5.7.9 https://support.google.com/mail/?p=invalidsecondfactor h5-20020a63c005000000b004639c772878sm6868282pgg.48 - gsmtp 🛠 구현 코드 public class MemberService { @Value("${spring.mail.username}") private String FROM; public Member join(SignUpDto signUpDto) { ... MailDto mailDto = ..

  • format_list_bulleted Spring/트러블 슈팅
  • · 2023. 9. 10.
  • textsms

[Spring] - @SpringBootTest 에러

문제 발단 기본적인 코드를 작성한 뒤 Test를 해야할 일이 생겨 간단한 코드를 작성 후 돌려봤는데 아래와 같은 에러를 마주치게 되었다. java.lang.IllegalStateException: Failed to load ApplicationContext 문제 분석 테스트로 작성한 코드는 아래와 같다. 컴파일 시점으로 봐도 문제될게 없는 코드였고, Application도 정상적으로 작동했다. 에러 구문을 분석해보니 아래와 같은 내용도 포함되어 있었다. Caused by: java.lang.ClassNotFoundException: org.springframework.jdbc.support.JdbcTransactionManager 문제 해결 과정 처음에는 에러의 가장 윗 단을 보는게 익숙해서 아래 구문을..

  • format_list_bulleted Spring/트러블 슈팅
  • · 2023. 9. 10.
  • textsms

[Spring] - SpringBoot 3.x 버전에서 Swagger 사용하기

🛠️ 개발 환경 🍃 Spring : Spring Boot 3.1.3 🛠️ Java : Amazon corretto 17 📔 의존성 Spring Boot 3.x 버전부터 springfox 라이브러리를 지원하지 않기 때문에 springdoc-openapi를 사용해야 한다. implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.2' 🛠️ 적용 springfox 라이브러리를 사용할 경우 여러 설정을 해줘야했지만, springdoc-openapi은 설정 조차 필요없이 바로 사용할 수 있다. public class TestController { @Operation( summary = "테스트 요청", description = "테스트 요청에 대..

  • format_list_bulleted Spring/기능 정리
  • · 2023. 9. 10.
  • textsms
  • navigate_before
  • 1
  • 2
  • 3
  • 4
  • 5
  • navigate_next
공지사항
전체 카테고리
  • 분류 전체보기 (114)
    • Book Study (49)
      • [Java] 이펙티브 자바 (19)
      • [Kotlin] 코틀린 코루틴 (6)
      • [Kotlin] 코틀린 인 액션 (4)
      • [Kotlin] 객체에서 함수로 (4)
      • [Web] 웹을 지탱하는 기술 (9)
      • [Web] HTTP2 IN ACTION (5)
      • [Spring] 토비의 스프링 3.1 (0)
      • [Theory] 출.스.마 (1)
      • [CS] 누구나 자료구조와 알고리즘 (1)
    • Devlog (6)
      • Kotlin (1)
      • Project (2)
      • Java (0)
      • Git (3)
    • Kotlin (13)
      • 이론 (1)
      • 기능 정리 (1)
      • [Inflearn] 코틀린 입문 (11)
    • Spring (27)
      • 이론 (1)
      • 프로젝트 (1)
      • 트러블 슈팅 (13)
      • 기능 정리 (11)
      • 리뷰 (1)
    • Java (2)
      • 이론 (2)
    • PS (13)
      • 그래프 (2)
      • 이론 (1)
      • 정렬 (2)
      • 컬렉션 (0)
      • 백트래킹 (6)
      • DFS (1)
      • DP (1)
    • DevOps (4)
      • AWS (4)
최근 글
인기 글
최근 댓글
태그
  • #제네릭
  • #자바
  • #백준
  • #스프링 배포
  • #이펙티브자바
  • #java
  • #kotlin
  • #백트래킹
  • #코틀린
  • #이펙티브 자바
전체 방문자
오늘
어제
전체
Copyright © 쭈미로운 생활 All rights reserved.
Designed by JJuum

티스토리툴바