[ Framework ]/Spring & Spring Boot

    [오류] java.lang.NoClassDefFoundError: org/springframework/core/JdkVersion

    원인 springframework 버전과 spring-jdbc 버전이 같지 않아서 생기는 문제였다. 해결 pom.xml에 spring-jdbc 버전 확인 후 버전을 springframework 버전과 매칭 org.springframework spring-jdbc ${org.springframework-version}

    [오류] log4j.xml : Cannot find DTD. Create the DTD file or configure an XML catalog for this DTD.

    오류 원인 Spring Lagacy Project를 생성하고 pom.xml 설정을 완료하고 보니 log4j.xml 파일에서 [Cannot find DTD. Create the DTD file or configure an XML catalog for this DTD.]라는 오류가 뜨며 아래 사진과 같이 빨간 줄이 난리가 났다. [DTD를 찾을 수 없습니다. DTD 파일을 생성하거나 이 DTD에 대한 XML 카탈로그를 구성합니다.]라는 내용의 오류라고 한다. 해결 방법 해결 방법은 간단했다. 해당 오류를 보면 local 경로에서 log4j.dtd 파일을 찾고 있는데 이것을 웹 참조로 돌리면 된다. 아래 내용을 복사해서 부분을 대체해주자. http://logging.apache.org/log4j/1.2/api..

    [오류] web.xml 빨간 줄 오류

    Spring Legacy Project를 생성하고 web.xml을 열었더니 아무것도 안 건드렸는데 아래와 같은 빨간 줄 오류가 뜬다. There are '37' errors in 'jsp_2_1.xsd'. cvc-id.3: A field of identity constraint 'web-app-servlet-name-uniqueness' matched element 'web-app', but this element does not have a simple type. 라는 오류가 뜨지만 사실 해결 방법은 간단하다. 아래와 같이 xmlns 부분의 java를 JAVA로 대문자로 변경해주면 오류가 거짓말처럼 사라진다.

    [Spring] STS4에서 Spring Legacy Project 생성하기

    STS4 설치 및 설정 https://hozeroa.tistory.com/5?category=1228854 Spring Tool Suite 4(STS4) 설치 및 기본 설정 1. 아래 링크를 통해 STS4 다운로드 페이지 접속 https://spring.io/tools Spring Tools 4 is the next generation of Spring tooling Largely rebuilt from scratch, Spring Tools 4 provides world-class suppor.. hozeroa.tistory.com Tomcat 설치 https://hozeroa.tistory.com/6?category=1228841 Apache Tomcat 9.0 설치 1. 아래 링크를 통해 Apach..

    [설치] Apache Tomcat 9.0 설치

    1. 아래 링크를 통해 Apache Tomcat 9.0 다운로드 페이지 접속 https://tomcat.apache.org/download-90.cgi Apache Tomcat® - Apache Tomcat 9 Software Downloads Welcome to the Apache Tomcat® 9.x software download page. This page provides download links for obtaining the latest version of Tomcat 9.0.x software, as well as links to the archives of older releases. Unsure which version you need? Specification version tomca..