开发者社区 问答 正文

初学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 2577 分享 版权
1 条回答
写回答
取消 提交回答
  • 喜欢技术,喜欢努力的人

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

    2019-07-17 19:12:53
    赞同 展开评论