1.注意maven支持的jdk,详情参照官网。
2.创建maven之后index.jsp中html报错
The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
解决方法如下:
1、右击web工程-》属性或Build Path-》Java Build Path->Libraries-> Add Libray...->Server Runtime -》Tomcat Server
2、切换到Java Build Path界面中的Orader and Export,选择Tomcat。