Notice
Recent Posts
Recent Comments
기록과 정리의 공간
[Spring] Log4j : org.apache.log4j.Logger cannot be resolved to a type 에러 본문
라이브러리&프레임워크/Spring
[Spring] Log4j : org.apache.log4j.Logger cannot be resolved to a type 에러
딸기맛도나쓰 2020. 12. 13. 01:38- Spring 공부를 하며 간단한 예제 작성 중, @Log4j 어노테이션을 사용하니 org.apache.log4j.Logger cannot be resolved to a type 에러가 발생했다.
해결 방법
- 아래와 같이 pom.xml에서 <scope> 부분을 주석 처리해주면 된다.
'라이브러리&프레임워크 > Spring' 카테고리의 다른 글
Comments