- The superclass "javax.servlet.http.HttpServlet" was not found on the Java
Posted 路在脚下丶
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了- The superclass "javax.servlet.http.HttpServlet" was not found on the Java相关的知识,希望对你有一定的参考价值。
网上有很多解决方法,如这种
下面是具体的解决方法:
1、右击web工程-》属性或Build Path-》Java Build Path->Libraries-> Add Libray...->Server Runtime -》Tomcat Server
2、切换到Java Build Path界面中的Orader and Export,选择Tomcat。
完成之后,切记点击build project。马丹
以上是关于- The superclass "javax.servlet.http.HttpServlet" was not found on the Java的主要内容,如果未能解决你的问题,请参考以下文章