开发者社区> 问答> 正文

初学tomcat,jsp,servlet的时候老碰到这样的错误,求助。

初学tomcat,jsp,servlet的时候老碰到下面的错误,求大神帮助。
`Illegal access: this web application instance has been stopped already.
Could not load com.mysql.jdbc.Util. The eventual following stack trace is caused by an error
thrown for debugging purposes as well as to attempt to terminate the thread which caused
the illegal access, and has no functional impact.
java.lang.IllegalStateException`

展开
收起
落地花开啦 2016-03-24 15:46:08 2396 0
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

    这是因为将JDBC驱动放在应用的WEB-INFlib目录下,在重新发布时,其加载了两次出现的的问题,所以只要将其拷贝到TOMCAT_HOMElib中就好了

    2019-07-17 19:12:53
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
Apache Tomcat 的云原生演进 立即下载
低代码开发师(初级)实战教程 立即下载
阿里巴巴DevOps 最佳实践手册 立即下载