메이븐 3

[spring] Description Resource Path Location Type Dynamic Web Module 4.0 requires Java 1.8 or newer. Maven Java EE Configuration Problem 오류 에러 해결 방법

Description Resource Path Location Type Dynamic Web Module 4.0 requires Java 1.8 or newer 오류는 이클립스의 프로젝트 내에 설정된 자바버전과 다른 버전과 충돌이 일어나서 발생하는 오류인데요. 아래처럼 해결하시면 됩니다. 1. 프로젝트 마우스 우클릭 --> properties --> project facets Dynamic Web Module버전과 Java 버전이 맞는지 확인하기 (이클립스 다운로드할때 1.8버전으로 다운했기때문에 1.8이 맞고) Dynamic Web Module 의 버전같은경우는 어떻게 아냐면 3.1버전을 클릭했을때 옆에 자바 1.7이라고 나오고 4.0을 클릭했을때 자바 1.8이 나오는걸 볼 수 있음 그럼 나는 이클립스..

development♥ 2022.09.29

Resource specification not allowed here for source level below 1.7 오류 에러 해결 방법

Resource specification not allowed here for source level below 1.7 이 에러는 1.7이상의 컴파일 환경을 사용하고 있는데 1.7 이하의 버전을 환경설정에서 사용중이기 때문에 발생하는 에러 해결방법 2가지 1. 왼쪽에 빨강 x버튼을 클릭하면 change project compliance and JRE to 1.7 이 뜨는데 그거를 클릭해서 해결해도되고 2. pom.xml파일에서 1.6버전을 1.7혹은 1.8 등으로 변경하기

development♥ 2022.09.28

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 오류 에러 해결방법

java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 에러의 경우 maven > update project config > 실행시 maven이라는 경로가 삭제되는 경우가 있는데 이럴때 다시 경로를 설정해주면 정상적으로 서버가 시작된다 프로젝트 마우스 우측 클릭 > properties> deployment assembly > add> java build path entries > next maven dependencies > finish 그럼 하단에 maven dependencies가 들어간걸 볼 수 있음 apply > apply and close

development♥ 2022.09.27
반응형