본문 바로가기

오류 또는 예외 로그들4

[spring]NoSuchBeanDefinitionException: No qualifying bean of type NoSuchBeanDefinitionException: No qualifying bean of type 오라클 db로 테이블을 생성하고 더미데이터를 넣은 뒤, db와 mybatis로 연동된 스프링에서 알맞는 vo를 만들고 이를 이용하여 db에서 전체 행을 출력하는 테스트 코드를 만든 뒤 실행했을때 발생한 에러이다. 해결 : root-context에 mybatis설정을 추가하지 않아서 발생했다. 2022. 1. 17.
[spring] UnsatisfiedDependencyException org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'kr.co.codingmonkey.security.MemberTests': Unsatisfied dependency expressed through field 'encoder'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.crypto.password.PasswordEncoder' available: expected at lea.. 2021. 11. 5.
WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI 스프링 프로젝트를 서버로 구동시켜서 적절한 url을 입력해서 페이지 구동시키는 것까지는 성공했으나 무한 로딩이 걸려서 콘솔창을 확인해보니 떴던 메세지다. 구동시키려던 jsp파일에서 헤더와 푸터의 스크립트쪽 src의 경로가 잘못 입력된 부분이 있어서 생긴 오류였다. 해당 스크립트 태그의 src속성에 ( 내 경우엔 resources폴더에 담긴 설정 파일들을 적용시켜야 했으므로) ${pageContext.request.contextPath}/resources/를 추가해주었더니 페이지가 정상 작동하였다. 2021. 10. 29.
springframework.beans.NotReadablePropertyException org.springframework.beans.NotReadablePropertyException: Invalid property 'principal.username' of bean class [org.springframework.security.authentication.AnonymousAuthenticationToken]: Bean property 'principal.username' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter? 스프링 프로젝트로 CKeditor를 적용하기 위해 기존에 있던 jsp파일을 새이름으로 복붙해서 톰캣.. 2021. 10. 28.