본문 바로가기

개발/Java3

[Spring] ClassNotFoundException: org.springframework.web.context.ContextLoaderListener 문제 발생 심각: Error configuring application listener of class org.springframework.web.context.ContextLoaderListenerjava.lang. 프로젝트를 새로 만들어서 진행해야하는 일이 있어서 Spring mvc 로 maven 프로젝트를 생성했다. 프로젝트 실행 테스트겸 서버에 올려 실행시켰더니 위와 같은 에러가 발생했다. 인터넷에 돌아다니는 가장 보편적인 해결방법으로는 프로젝트 >> properties >> Deployment Assembly를 선택한 후, "Add" >> Java Build Path Entries >> Maven Dependencies 선택한 후, "Apply"를 해준다. 였다. 하지만 위와 같은 방법을 통해 .. 2022. 5. 4.
[Java] Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:resources failed Maven SpringBoot를 import 하고 나니 아래와 같은 에러가 발생했다 [pom.xml] org.springframework.boot spring-boot-starter-parent 2.5.6 [에러내용] Execution default-resources of goal org.apache.maven.plugins:maven-resources-plugin:3.2.0:ourresces failed [해결방법] 아래 라이브러리를 pom.xml 에 추가 후 Maven > Update project ( Force Update of Snapshots/Releases 체크 ) 2021. 11. 3.
[Java] Unable to locate executable for jre1.8.0_291 Java 업데이트 후 빌드를 하니 다음과 같은 에러가 발생했다. 인터넷을 다 뒤져봐도 해결이 되지 않았다. 컴퓨터를 껐다켜니 해결됐다. Java 업데이트를 한 후에는 컴퓨터를 재부팅해보자. 2021. 10. 25.