Localhost)2023/03/02~03 Troubleshooting

 

Localhost)2023/03/02~03 Troubleshooting

오류 발생

IDE : intellij(Community Edition)version

오류 :

Demo1Application run -> localhost:9080 Connected-> Static file index.html -> HTML console error message in "Failed to load resource: the server responded with a status of 404 (Not Found)"

Tomcat 가동된 것을 확인, 이후 localhost:9080에 접속 하였으나

404Error가 발생, thymeleaf에 있는 HTML이 뜨지 않고, Static에 있는 index.html이 계속 뜨게 되었다.

위의 사진과 같이 나와야 정상. 허나 Tomcat이 가동 중임에도 불구 하고

localhost:9080 접속 시,static/index.html만 클라이언트에서 가동 됨.

1.오류 해결 시작: 높은 원인을 우선적으로 조사

1.Port kill (How to Port kill 문서 참조) Port number를 9081~9083 변경 하였음 (실패)

2.컴퓨터 재부팅(실패)

3.인터넷 검색 후 원인 파악(실패)

4.각종 환경 설정(실패)

에러 해결 --- 경로 설정 이상이 원인으로 추측됨.

D->javaedu10->project 파일 경로 들어간다.

$ git clone https://github.com/sang105kr/demo1

위의 것을 Git bash에 추가

+ Recent posts