求助各位大神,运行服务器的时候出现错误该如何解决

原创 2018年04月17日 15:07:53
四月 17, 2018 3:59:58 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [jsp] in context with path [/HelloWorld] threw exception [An exception occurred processing JSP page [/index.jsp] at line [15]


12: <%
13: //test for mysql jdbc
14: // 杩炴帴鏁版嵁搴?
15: java.sql.Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/iclass?useSSL=false",
16: "root", "407031");
17: Statement statement = conn.createStatement(); // 鍒涘缓Statement瀵硅薄
18: ResultSet rs = statement.executeQuery("select * from student");




Stacktrace:] with root cause
java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost:3306/iclass?useSSL=false
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:131)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:443)
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:742)
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:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:496)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)
at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:803)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:790)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1459)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Unknown Source)

【原创】Win10 出现的“管理员已阻止你运行此应用”解决办法

搜索cmd,右键已管理员身份运行; 然后从cmd中进入程序的目录,  比如我要打开的文件是setup.exe;...
  • qq_20038925
  • qq_20038925
  • 2017-06-24 23:37:21
  • 260

服务器上出现应用程序错误

 之前自己也碰到過這種情況。特此整理,希望能夠幫助有困惑的挨踢人士~说明: 服务器上出现应用程序错误。此应用程序的当前自定义错误设置禁止查看应用程序错误的详细信息。 详细信息: 若要使他人能够从本地服...
  • yrt110
  • yrt110
  • 2009-11-18 11:45:00
  • 6828

求助各位大神

用ssh框架做项目,初步登录时获取数据库的用户信息要显示到jsp页面中,但是只要在jsp页面里加入struts标签或者el表达式都会报栈溢出的错误 Struts Problem Report ...
  • Sunny__wen
  • Sunny__wen
  • 2018-01-09 19:09:21
  • 45

“/ArcGIS/Manager”应用程序中的服务器错误 无法找到资源

刚安装完的arcgis server 9.3,打开arcgis server manager这个管理网页的时候浏览器提示“无法找到资源”或是“网页可能暂时无法连接,或者它已永久性地移动到了新网址”。 ...
  • xiliangxiaoke
  • xiliangxiaoke
  • 2012-12-14 14:48:40
  • 1779

Keil uV4编译错误信息表

错误信息的翻译
  • pfboy
  • pfboy
  • 2015-10-01 09:57:13
  • 1050

求助各位大神解决python的问题

从这篇文章获得的安装方法
  • u010621472
  • u010621472
  • 2016-12-02 14:44:16
  • 91

请教各位大神,如何解决?

SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/E:/Maven/jeewx...
  • gelusheng123456
  • gelusheng123456
  • 2018-03-19 11:35:00
  • 25

vs2010+opencv2.4.9运行时候出现问题?求助各位

参考书目是OpenCV3 编程入门 程序是: # include using namespace cv; int main () { VideoCapture capture("1...
  • xiaosi1219
  • xiaosi1219
  • 2018-01-06 16:25:24
  • 45

求助各位大神,关于数组

据我所知必须要把列数先定义出来  例如:int a[][5]   我想写成 int x,y; scanf("%d",&x); scanf("%d",&y); int a[x][y]; 大概...
  • u015199337
  • u015199337
  • 2014-05-11 12:04:05
  • 209

求助各位大神关于Eclipse

我是新手刚学Jave,想在电脑上安装一个Eclipse,求助各位大神怎样下载安装呢?...
  • shiqingke001A
  • shiqingke001A
  • 2016-10-24 09:20:48
  • 54
收藏助手
不良信息举报
您举报文章:求助各位大神,运行服务器的时候出现错误该如何解决
举报原因:
原因补充:

(最多只允许输入30个字)