일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 시큐리티 로그아웃
- java
- 로그인
- gradle
- springboot
- 스프링 부트
- javascript
- 코딩테스트
- 목록
- sql
- 소스트리
- 시큐리티로그인
- 시큐리티
- 반복문
- 프로그래머스
- 2차원배열
- 싱글톤
- css
- security
- input태그
- StyleSheet
- JAVA11
- 시큐리티 로그인
- codingtest
- html
- 리눅스
- springSecurity
- Linux
- programmers
- Spring boot
- Today
- Total
목록selfEdu/극약처방 ) Error (12)
JAVAIARY

1. 문제 : 빌드가 안돼서 오류가 뜸 2.원인 Context initialized 이벤트를 [org.springframework.web.context.ContextLoaderListener] 클래스의 인스턴스인 리스너에 전송하는 동안 예외 발생 org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'customUserDetailsService': Unsatisfied dependency expressed through method 'setMemberMapper' parameter 0; nested exception is org.springframework.beans.factory.NoS..

1. 오류 remove annotation이 자꾸 recommend됨 2. 해결 project - properites - java compiler JDK Compliance 버전 맞춰주기 3. 결과

1. 문제 : log를 찍으려고 컨트롤러에 로그 설정을 해주는 데 오류발생 import log4j를 해 주었음에도 불구하고 오류 발생 원인: logging관련 dependency 에 runtime 처리가 되어 있어 사용불가 Maven의 scope (pom.xml) runtime : 런타임(프로젝트 실행)시 필요하지만 컴파일 시 필요하지 않을 경우 사용 scope 지정해 주지 않을 경우 기본 compile로 지정됨 2. 처리 : compile 로 변경하거나 runtime 부분을 주석처리 3. 결과 : 정상 작동
select * from inq_board where user_id = 'ID' and inq_date between (now() - interval '1year') and now() order by inq_date desc, inq_id desc; 분명히 postgreSQL에서는 멀쩡히 잘 돌아갔던 구문 select * from inq_board where user_id = ? and inq_date between (now() - interval ?) and now() order by inq_date desc, inq_id desc; 하지만 mybatis 매퍼에 넣고 돌리면 구문오류라고 뜬다 머리가 너무 아팠는데 결국 연산이 안 되는 구문이었던 것 select * from inq_board where ..