使用tomcat自带的连接池,报错

简介:

Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.Driver

解决办法: mySQL的jdbc驱动Jar包,不能放在WEB-INF/lib里面,要放到tomcat/lib里面,




     本文转自北京看看 51CTO博客,原文链接:http://blog.51cto.com/kankan/1797109,如需转载请自行联系原作者


相关文章
|
Java 应用服务中间件 Apache
Tomcat 发布jsp报错
Tomcat 发布jsp报错
|
应用服务中间件
Tomcat报错:The required Server component failed to start so Tomcat is unable to start
Tomcat报错:The required Server component failed to start so Tomcat is unable to start
246 0
|
Java 应用服务中间件 容器
Tomcat报错 严重: A child container failed during start
Tomcat报错 严重: A child container failed during start
198 0
|
7月前
|
Java 应用服务中间件 Shell
Tomcat 安装配置教程及成功后,启动失败报错解决方案
Tomcat 安装配置教程及成功后,启动失败报错解决方案
148 0
|
7月前
|
前端开发 Java 应用服务中间件
springboot 升级(1.5.7.RELEASE升级到2.7.10) Tomcat启动报错
springboot 升级(1.5.7.RELEASE升级到2.7.10) Tomcat启动报错
|
7月前
|
Java 应用服务中间件
解决tomcat启动报错:无法在web.xml或使用此应用程序部署的jar文件中解析绝对的url [http:java.sun.com/jsp/jstl/core]
解决tomcat启动报错:无法在web.xml或使用此应用程序部署的jar文件中解析绝对的url [http:java.sun.com/jsp/jstl/core]
1659 1
|
7月前
|
Java 应用服务中间件
Tomcat 报错:The origin server did not find a current representation for the target resource
Tomcat 报错:The origin server did not find a current representation for the target resource
179 1
|
7月前
|
监控 应用服务中间件
idea debug模式启动Tomcat报错:Error running ‘tomcat8‘: java.net.SocketException “socket closed“
idea debug模式启动Tomcat报错:Error running ‘tomcat8‘: java.net.SocketException “socket closed“
248 0
|
Java 应用服务中间件
解决java.lang.NoClassDefFoundError: JspException异常——Tomcat常见报错总结
解决java.lang.NoClassDefFoundError: JspException异常——Tomcat常见报错总结
217 0
|
应用服务中间件
IDEA启动报错:Error running ‘Tomcat 8.5.34‘: Address localhost:1099 is already in use
IDEA启动报错:Error running ‘Tomcat 8.5.34‘: Address localhost:1099 is already in use
135 0