Notice
Recent Posts
Recent Comments
Link
목록2025/02/04 (1)
Welcome! Everything is fine.
![](http://i1.daumcdn.net/thumb/C150x150.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/rZMj3/btsL5QxGjT3/VEfVNTf0Bas41aQSMY6wn1/img.png)
삭제 기능 테스트 도중, 올바른 비밀번호를 입력해도 404 에러가 뜨는 문제가 있었다. 404 에러를 던지도록 설정한 부분은 DB에 있는 비밀번호와 입력한 비밀번호가 틀리는 경우 발생한다. 이것저것 시도해보다 Repository Layer에서 정확한 scheduleId와 password가 출력되는 것을 확인한 후, 비밀번호를 검증하는 Service Layer에서 다음과 같이 출력해봤다.System.out.println("db password = " + current.getPassword());System.out.println("input password = " + password);System.out.println("equals = " + current.getPassword().equals(passwor..
TIL
2025. 2. 4. 15:53