STS热部署问题

如果STS为热部署,有时会出现java.lang.IllegalStateException: Illegal access: this web application instance has been stopped already. Could not load [com.mysql.jdbc.profiler.ProfilerEventHandlerFactory]. The following stack trace is thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access.错误;解决方法:
修改tomcat目录下conf文件夹下的server.xml, 在标签添加子元素找到标签,把reloadble的属性值设为:reloadable=“false”.即可。

发布了14 篇原创文章 · 获赞 0 · 访问量 645

猜你喜欢

转载自blog.csdn.net/goodgoodstudyddp/article/details/100068855