在IDEA使用servlet与mysql时出现问题报错servlet execution threw an exception 问题原因 jar包导入不齐全或不匹配 解决方案 在WEB-INF中lib目录下导入相关jar包