본문 바로가기

전체 글32

display의 inline, block, inline-block 요소 모든 html요소에는 요소 유형에 따라 기본 표시 값이 있다. 인라인과 블록 방식이다. none요소는 요소가 숨겨져서 페이지에 요소가 없는 것처럼 표시된다. visibility:hidden도 비슷한 기능을 하나 none의 경우 공간조차 차지하지 않는다. inline요소는 요소들이 가로로 배치되며 , , , 태그 등이 있다. 인라인 요소는 너비, 높이를 지정할 수 없다. 필요한 만큼만 너비를 차지한다. 주로 목록에서 사용된다. block요소는 요소들이 세로로 배치되며 , , 태그 등이 있다. 태그같은 인라인 레벨 요소도 블록레벨 요소로 바꿀 수 있다. 블록 요소는 가능한 최대의 너비 값을 가진다. 위쪽 여백과 아래쪽 여백속성을 줄 수 있다. inline-block요소는 인라인 요소지만 블록 요소 처럼 너비.. 2021. 11. 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.