본문 바로가기

SERVER/Error

[Error] Tomcat Server Error - 404 , etc.

 

톰캣 서버 에러

 

요청된 리소스 [/]은(는) 가용하지 않습니다.
Origin 서버가 대상 리소스를 위한 현재의 representation을 찾지 못했거나, 그것이 존재하는지를 밝히려 하지 않습니다.

 

 

방법

 

1. Server > Tomcat Modules > path 확인

path 경로가 맞지 않아 발생하는 에러.

 

2. Component 파일 수정

Eclipse workspace → 해당 프로젝트 → .settings → org.eclipse.wst.common (COMPONENT 파일)

 

1) <wb-module deploy-name="프로젝트명"> 인지 확인

2) <property name> value 프로젝트명 , 경로 확인

 

3. Controller class, root-context.xml , servlet-context.xml , web.xml 경로 확인

 

경로가 틀려서 발생하는 경우가 가장 많음.

 

 

참조

 

https://shinye0213.tistory.com/m/336

 

톰캣 에러(Tomcat Error) HTTP 상태 404 – 찾을 수 없음

요청된 리소스 [/]은(는) 가용하지 않습니다. Origin 서버가 대상 리소스를 위한 현재의 representation을 찾지 못했거나, 그것이 존재하는지를 밝히려 하지 않습니다. 방법 1. Path 확인 방법 2. component

shinye0213.tistory.com

https://october-east-sea.tistory.com/160

 

[에러]Origin 서버가 대상 리소스를 위한 현재의 representation을 찾지 못했거나, 그것이 존재하는지

1.Server Modules탭에서 /path 바꿔도 안 될 때 https://jnju.tistory.com/7 [404 에러 eclipse 설정]Origin 서버가 대상 리소스를 위한 현재의 representation을 찾지 못했거나, 그것 jsp 만으로 돌아가는 테스트..

october-east-sea.tistory.com

https://bryan7.tistory.com/m/39

 

[eclipse] org.eclipse.wst.common.component 파일의 내용

tag="defaultRootSource" 는 WEB descripter 파일이 위치하는 경로이다. (/WEB-INF/web.xml)

bryan7.tistory.com

https://jeffrey-oh.tistory.com/m/116