这个报错的原因是缺少Jar包

项目上单击鼠标右键》Build Path》Configure Build Path

点击libraries中的 ADD Library>

Server Runtime>next >

Apache tomcat v7.0 >finish 即可