본문 바로가기

spring framwork 에러노트14

Description Resource Path Location Type Cannot find DTD 'log4j.dtd'. Create the DTD file or configure an XML catalog for this DTD. log4j.xml /study/src/main/resources line 2 Language Servers log4j.dtd 지정된 파일을 찾을 수 없습니다. 이렇게 에러가 났다면 log4j 주소 값이 잘못 된 것이다. 출처: https://withthisclue.tistory.com/entry/Spring-log4jxml-에러-Cannot-find-DTD-log4jdtd-지정된-파일을-찾을-수-없습니다 [Spring] log4j.xml 에러 - Cannot find DTD, log4j.dtd 지정된 파일을 찾을 수 없습니다. 문제 log4j.xml 에서 예외가 발생했다. 서버 실행은 되고, console 로그도 보이나, 서버 로그 파일이 생성되지 않았다. Cannot find DTD log4j.dtd 지정된 파일을 찾을 수 없습니다. 빨간 x 표시에 마우스를 withthisclue.tistory.com 2022. 8. 28.
Class 'org.springframework.jdbc.datasource.DriverManagerDataSource' not found Class 'org.springframework.jdbc.datasource.DriverManagerDataSource' not found config set: study/web-context] 이런 에러가 떴다. root-context.xml에서 spring-jdbc 를 불러오지 못하나 보다. 그래서 pom.xml에서 넣으니 해결되었다. org.springframework spring-jdbc ${org.springframework-version} 짜잔 완성... 2022. 8. 28.
There are '37' errors in 'jsp_2_1.xsd' 스프링프레임 워크 첫 이클립스 세팅시 자주 뜨는 에러 중 하나다. ';' 하나만 넣어주면 된다. 참고 https://code-hyoon.tistory.com/14 2022. 8. 27.
An error has occurred. See error log for more details.java.lang.ExceptionInInitializerError 유명한 에러 로그가 나타났다. 처음 스프링 레거시 프로젝트를 진행할 때 나오는 에러이다. 1. 자바 1.8을 제어판에서 모두 삭제한 후, 자바11 버전을 새로 설치했다. 2. 이클립스 폴더에서 eclipse.ini 파일을 수정한다. -vm plugins/org.eclipse.justj.openjdk.hotspot.jre.full.win32.x86_64_16.0.1.v20210528-1205/jre/bin --> -vm C:\dev\Java\jdk-11.0.12\bin\javaw.exe 수정하니까 정말 잘 된다. 2022. 8. 27.