web项目在idea下的启动报500,exception为javax.servlet.ServletException: Servlet execution threw an exception

报错信息如下:

web项目在idea下的启动报500,exception为javax.servlet.ServletException: Servlet execution threw an exception_第1张图片

解决:

查看放jar包的lib文件夹,放错位置了,应该是放在web/WWEB-INF/lib

web项目在idea下的启动报500,exception为javax.servlet.ServletException: Servlet execution threw an exception_第2张图片

我刚开始就放错了,另外,看报错信息的时候建议看Exception,而不是Root Cause,这样定位问题快一点。

附上大神的博客:https://blog.csdn.net/iconhot/article/details/90319883

你可能感兴趣的:(java)