myeclipse eclipse创建maven web项目时 index.jsp报错

第一种办法

解决办法:

----------------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------------------------------



最后问题解决了。

第二种办法

手动添加maven的servlet依赖,到maven仓库搜索servlet,复制粘贴到pom.xml文件中

posted @ 2017-08-30 10:41  weixsun  阅读(2113)  评论(0编辑  收藏  举报