eclipse+maven 配置环境小细节

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。

 

posted on 2016-04-13 13:25  阿衰并不二  阅读(108)  评论(0编辑  收藏  举报