milim
198
2020-11-23 00:08:41
1
91

이클립스 프로젝트 실행 오류 질문입니다.


개발환경은 이클립스, 톰캣 8.5, jdk 1.8 입니다.
카페에서 했을 때만 해도 잘 구동되던 프로젝트가 왜 이런 데이터베이스 관련 오류를 뱉는지 모르겠습니다...
클래스를 찾을 수 없는 오류라는건 이해를 하겠지만, 분명히 노트북을 끄기 전까지는 아무런 오류 없이 정상적으로 구동 되었었습니다 ㅠㅠ
제가 어디를 살펴야하는지 알려주실 분 계신가요

심각: 경로 [/'이클립스 프로젝트명']의 컨텍스트 내의 서블릿 [jsp]을(를) 위한 Servlet.service() 호출이, 
근본 원인(root cause)과 함께, 
예외 [javax.servlet.ServletException: java.lang.NoClassDefFoundError: util/DatabaseUtil]을(를) 
발생시켰습니다.
java.lang.ClassNotFoundException: util.DatabaseUtil
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1358)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1180)
	at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:122)
	at org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:59)
	at org.apache.jsp.index_jsp._jspService(index_jsp.java:366)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:71)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:476)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:544)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:690)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:616)
	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)
	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:818)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1626)
	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)


0
  • 답변 1

  • 한가
    92
    2020-11-23 02:45:35

    https://maternalgrandfather.tistory.com/entry/%EC%9E%90%EB%B0%94-javalangClassNotFoundException-%EC%98%A4%EB%A5%98-%EC%97%84%EC%B2%AD-%EA%B0%84%EB%8B%A8%ED%95%9C-%ED%95%B4%EA%B2%B0%EB%B2%95

  • 로그인을 하시면 답변 을 등록할 수 있습니다.