[JSP&Servlet] bootstrap.jar does not exist. 에러

tony·2022년 3월 14일
0

아 이럴 때는 진짜 공부하기 싫어..ㅠ

JSP 공부를 하려 책을 들었다. 이런 우라질레이션... 환경설정!! 그 놈의 환경설정!!
덕분에 2시간을 에러 찾아 고치느라고 날려먹었다!!
나 뿐만 아닌 다른 분들이 훨씬 쉽게 고치시라고 한 번 글을 써본다.

Error Page

분명 이클립스를 통해 톰캣 서버를 잘 설치해주었거늘, 이런 경고문이 뜬다
The archive: /edu/Tomcat_Server/apache-tomcat-8.0.36/bin/bootstrap.jar which is referenced by the classpath, does not exist.

엥.. 이건 또 무슨 에러래.. 하고 불이 나케 찾아봤다.

Servers - Overview - Open launch Conf - Classpath 에서 bootstrap.jar의 경로가 올바른지 보라는 조언이 있었다.
읭?? 올바르게 했는데..?

결국 해결책은 갓택오버플로우에서 찾아냈다.

톰캣 서버는 따로..^^

None of the above answers provide proper concrete solution. I faced exactly same issue and i figured out a very simple solution.

  • Open Eclipse and remove all entries of Apache server
  • Delete Servers from explorer tab, delete Tomcat from server explorer window, delete server from Window > Preferences > Server > Apache tomcat, delete it, also delete servers folder inside EclipseProjects.
  • Place Apache tomcat folder outside the project folder anywhere you wish to, you can place in Eclipse_Projects folder but not inside EclipseProjects/projectxyz/.
  • Now add server in eclipse the usual way and give path of this new location.

This should work!

그렇다.. 나는 서버 설치파일 또한 workspace 내부에 설치해두었던 것이다. 정확한 에러의 원인은 잘 모르겠다. (어쩌면 bootstrap.jar 경로를 찾을 때 tomcat과 workspace 간 충돌이 일어나는 것일지도..?)

이 글을 보는 누군가 또한 그저 서버를 다른 곳 어딘가에 옮겨 쉽게 해결해나가길 바란다...

화이또!!

Reference

profile
내 코드로 세상이 더 나은 방향으로 나아갈 수 있기를

0개의 댓글