본문 바로가기

에러8

[Spring] STS 4에서 Spring Tools 3 Add-On for Spring Tools 4 설치 실패 ✔ 문제 상황 STS4(Version: 4.20.0 RELEASE)에서 Spring Legacy Project 프로젝트 생성을 위해 Eclipse Marketplace에서 Spring Tools 3 Add-On for Spring Tools 4를 설치를 시도하였으나 실패하였다. Cannot complete the install because of a conflicting dependency. Software being installed: Spring IDE Core (required) 3.9.22.202204280911-RELEASE (org.springframework.ide.eclipse.feature.feature.group 3.9.22.202204280911-RELEASE) Software cur.. 2023. 10. 15.
[Spring] cvc-elt.1.a: Cannot find the declaration of element 'project'. ✔ 문제 상황 STS에서 새 프로젝트 생성 후 pom.xml을 열었더니 다음과 같은 에러문구가 떴다. *STS 버전: 4.20.0 에러 문구 Line 2. error Line 3. error ✔ 해결 방법 두 가지 방법 중 택1하면 된다. 방법 1. 링크 주소값 수정 xsi:schemaLocation 값 중 https에서 's'를 삭제하여 http로 수정해주면 에러 표시가 사라진다. 방법 2. 소스 강제 다운로드 에러 밑줄이 있는 곳에 마우스를 가져다 대면 해당 링크에서 강제 다운로드할 수 있는 안내창이 뜬다. 'Force download of...' 문구를 클릭해주면 링크 주소를 수정하지 않아도 에러 표시가 사라진다. 주소창에 http://maven.apache.org/xsd/maven-4.0.0.xs.. 2023. 10. 12.
[Tomcat] Several ports (8006, 8090) required by [Server Name] are already in use. 문제 상황 사용 중이던 이클립스를 비정상적으로 종료시킨 후 다시 서버를 실행시키니 다음과 같은 에러문구가 떴다. 이미 해당 포트를 사용하고 있어서 생기는 에러이므로 톰캣 서버가 사용하는 포트를 닫아주어야 한다. Several ports (8006, 8090) required by [Server Name] are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s). 해결 방법 1. cmd에서 사용 중.. 2023. 3. 25.
[Spring] org.apache.catalina.LifecycleException: 구성요소 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]을(를) 시작하지 못했습니다. 문제 상황 STS에서 SVN 업데이트 후 톰캣 서버를 실행하니 다음과 같은 에러 문구가 떴다. org.apache.catalina.LifecycleException: 구성요소 [StandardEngine[Catalina].StandardHost[localhost].StandardContext[]]을(를) 시작하지 못했습니다. 해결 방법 1. 프로젝트 클린하기 : 상단 메뉴바 Project > Clean > 해당 프로젝트 선택 2. 메이븐 업데이트하기 : 해당 프로젝트 우클릭 > Maven > Update Project * 따로 .jar 파일 추가하거나 pom.xml에 dependency 추가한 게 아니라면 2번 생략 가능 3. 톰캣 서버 클린하기 : Tomcat Server 우클릭 > Clean (+) .. 2023. 2. 12.