728x90
[오류 메세지]
11월 21, 2022 10:39:44 오후 org.apache.catalina.loader.WebappClassLoaderBase checkStateForResourceLoading 정보: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load []. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access. at org.apache.catalina.loader.WebappClassLoaderBase.checkStateForResourceLoading(WebappClassLoaderBase.java:1295) at org.apache.catalina.loader.WebappClassLoaderBase.getResource(WebappClassLoaderBase.java:972) at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.checkThreadContextClassLoader(AbandonedConnectionCleanupThread.java:123) at com.mysql.cj.jdbc.AbandonedConnectionCleanupThread.run(AbandonedConnectionCleanupThread.java:90) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:833)
실행이 잘 되던 페이지가 이렇게 로드를 할 수 없다는 메세지가 뜨며 404오류가 뜨기 시작했다.
이것은 Tomcat 서버 오류인데 다음과 같이 해결할 수 있다.
[Servers]-[server.xml]을 열어 준다. 그리고 맨밑으로 내리면 Context가 있는 것을 볼 수 있는데 여기서 reloadable="true"로 되어있을 텐데 이 부분을 "false"로 바꿔주면 된다.
프로젝트가 많이 있다면 프로젝트 이름을 잘보는 것을 추천한다. 처음에 이름을 잘못보고 다른부분을 고치고 '왜 안되는지?' 하면서 엄청헤매었다..
반응형
'📔 오류' 카테고리의 다른 글
[Git]warning: LF will be replaced by CRLF 에러 해결방법 (0) | 2023.05.31 |
---|---|
[eclipse]Mysql 연동 에러 : Unable to locate JAR/zip in file system (0) | 2023.04.01 |
[eclipse]tomcat 서버 오류 - 서버 제거하고 다시 등록하기 (0) | 2022.11.23 |