| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 | 31 |
- 혼자 공부하는 C언어
- R
- C 언어 코딩 도장
- Serialization
- 알기쉬운 알고리즘
- 이것이 자바다
- ㅅ
- Stack
- insertion sort
- datastructure
- Algorithm
- 메모리구조
- stream
- 윤성우 열혈자료구조
- Graph
- coding test
- s
- JSON
- Selection Sorting
- 윤성우의 열혈 자료구조
- 이스케이프 문자
- list 컬렉션
- C programming
- buffer
- Today
- Total
목록Error Handling (13)
Engineering Note
에러메시지org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authController' defined in file [/Users/kim/myroot/Study/project/rest-shop/shop-api/build/classes/java/main/com/shop/api/auth/AuthController.class]: Unsatisfied dependency expressed through constructor parameter 1: Error creating bean with name 'authService' defined in file [/Users/kim/myroot/St..
사용자 정보를 조회 하는 REST API를 개발하던 중 에러가 발생했다. 1. 회원 가입을 시도 '/api/auth/register'로 회원가입. 2. id 값으로 회원 조회 (조회 URL: '/api/auth/1') 에러 발생 에러 메세지025-12-12T10:11:40.285+09:00 DEBUG 43426 --- [shop] [nio-8080-exec-3] o.s.security.web.FilterChainProxy : Secured GET /api/auth/12025-12-12T10:11:40.285+09:00 DEBUG 43426 --- [shop] [nio-8080-exec-3] o.s.web.servlet.DispatcherServlet : GET "/api/aut..
에러메세지jakarta.persistence.TransactionRequiredException: No EntityManager with actual transaction available for current thread - cannot reliably process 'flush' call at org.springframework.orm.jpa.SharedEntityManagerCreator$SharedEntityManagerInvocationHandler.invoke(SharedEntityManagerCreator.java:304) at jdk.proxy2/jdk.proxy2.$Proxy157.flush(Unknown Source) at com.shop.repository.ItemRepositoryT..
조회 페이지 개발하던 중 에러 발생 에러 메세지There was an unexpected error (type=Internal Server Error, status=500).An error happened during template parsing (template: "class path resource [templates/item/itemMng.html]")org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/item/itemMng.html]") at org.thymeleaf.templateparser.markup.Ab..
파일 업로드를 테스트하며 에러가 발생해서 에러 발생 해결 과정을 정리하려고 한다. 에러메세지java.lang.StringIndexOutOfBoundsException: Range [-1, 9) out of bounds for length 9 at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:55) at java.base/jdk.internal.util.Preconditions$1.apply(Preconditions.java:52) at java.base/jdk.internal.util.Preconditions$4.apply(Preconditions.java:213) at java.base/jdk.internal.util.Pr..
로그인한 상태에서 로그아웃 버튼을 클릭시 '/members/logout' API 요청을 통해 로그아웃 기능을 구현하는 도중 오류가 발생했다. 개발 환경Spring Boot3, Java17 에러 화면Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Sun Sep 14 19:51:55 KST 2025There was an unexpected error (type=Not Found, status=404).No static resource members/logout.org.springframework.web.servlet.resource.NoResourceFo..
상황 설명 프로젝트 초기에는 단일 application.yml 파일에서 MySQL 데이터베이스 연결 정보를 관리했다. 개발을 진행하면서 단위 테스트의 중요성을 깨닫고 H2 인메모리 데이터베이스를 활용한 테스트 환경을 구축하게 되었다. 이를 위해 테스트 전용 설정 파일인 application-test.yml을 추가하여 두 개의 설정 파일로 데이터베이스 정보를 분리 관리했다.프로젝트 규모가 커지고 레거시 코드가 증가하면서 중복 코드 제거 작업을 진행했다. 이 과정에서 기존 application.yml에는 서버 포트와 로그 설정 정보만 남기고, MySQL 로컬 연결 정보는 새로 생성한 application-local.yml로 분리했다.최종적으로 설정 파일은 다음과 같이 구성했다:application.yml: ..
문제 상황Spring Security를 사용한 로그인 기능 테스트 중 인증이 실패하는 문제가 발생했습니다. 테스트 실행 시 loadUserByUsername 메소드에 null 값이 전달되어 회원을 찾을 수 없다는 오류가 발생했다.환경 설정HTML 로그인 폼 이메일주소 비밀번호 로그인 Security 설정.formLogin(form -> form .loginPage("/members/login") .defaultSuccessUrl("/") .usernameParameter("email") // 중요: form의 name="email"과 매핑 .failureUrl("/members/login/..