정보: 서블릿 [FirstServlet]을(를) 가용하지 않은 상태로 표시합니다. 2월 08, 2022 11:25:03 오전 org.apache.catalina.core.StandardWrapperValve invoke 심각: 서블릿 [FirstServlet]을(를) 위해 할당하던 중 예외 발생 java.lang.ClassNotFoundException: com.servlet.FirstServlet at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1415) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1223) at org.apache.catalina.core.DefaultInstanceManager.loadClass(DefaultInstanceManager.java:533) at org.apache.catalina.core.DefaultInstanceManager.loadClassMaybePrivileged(DefaultInstanceManager.java:514) at org.apache.catalina.core.DefaultInstanceManager.newInstance(DefaultInstanceManager.java:149) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1071) at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:789) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:128) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:135) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:698) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:366) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:639) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:847) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1680) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:748)
0-0. Windows Key → 시스템 환경 변수 편집 검색 후 실행
0-1. [시스템 속성] → [고급] → [환경 변수] 선택
0-2. [환경 변수] → [시스템 변수] → [새로 만들기] → CATALINA_HOME 생성 및 경로 입력
1. [환경 변수] → [시스템 변수] → [새로 만들기]
2. [시스템 변수 편집] → 변수 이름 : CATALINA_HOME / 변수 값 : C:\특정 경로\apache-tomcat-8.5.75
3. [시스템 변수 편집] →확인 버튼 마우스로 클릭
4. [환경 변수] → 확인 버튼 마우스로 클릭
0-3. [시스템 속성] → [고급] → 확인 버튼 마우스로 클릭
========================================================================
1. [Eclipse] → [Project] → [Clean...]
2. [Eclipse] → [Project] → [Properties] → [Java Build Path] → [Order and Export] → [JRE System Library] Check
3. [Eclipse] → [Project] → [Build Automatically] Check
* 참고 링크 :
'AI Bootcamp > Servlet JSP' 카테고리의 다른 글
[Servlet JSP] Web Application에서 DB 연동_MyBatis (0) | 2022.02.09 |
---|---|
[Servlet JSP] Web Application에서 DB 연동_JDBC (0) | 2022.02.09 |
[Servlet JSP] Scope & Scope Life Cycle (0) | 2022.02.08 |
[Servlet JSP] Servlet 정의 (0) | 2022.02.08 |
[Servlet JSP] APR 기반 Apache Tomcat Native 라이브러리를 로드하지 못했습니다. (0) | 2022.02.07 |