Jump to content


Photo

Java - com.mysql.jdbc.Driver

Java Tomcat MySQL Driver

  • Please log in to reply
2 replies to this topic

#1 arkham19

arkham19

    Newbie

  • Members
  • 8 posts

Posted 12 December 2018 - 10:20 PM

Dear all,

Today I tried to access on my site (http://arkham19.heliohost.org/mb/), but unfortunately I've got an error:
 
Error report: [Home]

Could not initialize class com.mysql.jdbc.Driver

StackTrace:

java.lang.NoClassDefFoundError: Could not initialize class com.mysql.jdbc.Driver
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:264)
beans.ConnectionManagerBean.connect(ConnectionManagerBean.java:47)
beans.ConnectionManagerBean.getCon(ConnectionManagerBean.java:66)
org.apache.jsp.index_jsp._jspService(index_jsp.java:198)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:458)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:386)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:330)
javax.servlet.http.HttpServlet.service(HttpServlet.java:741)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:199)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92)
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:668)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:408)
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:770)
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1415)
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
java.lang.Thread.run(Thread.java:748)

 

 
It 's very strange because I have not uploaded code updates and few days ago I could easily access to my site.
I also tried to access the database from my local site with Eclipse and it work well.
 
Can you give me assistance, please?
Thanks in advance!

 



#2 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 17,313 posts
  • Gender:Male

Posted 13 December 2018 - 04:35 AM

http://arkham19.heliohost.org/mb/ is working for me. Where do you see that error?

#3 arkham19

arkham19

    Newbie

  • Members
  • 8 posts

Posted 13 December 2018 - 08:46 AM

http://arkham19.heliohost.org/mb/ is working for me. Where do you see that error?


Now work fine for me too.
I've seen the error yesterday nel night on the Home Page.
Probably server busy?
Anyway now work.

Thanks





Also tagged with one or more of these keywords: Java, Tomcat, MySQL, Driver

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users