欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build

程序员文章站 2022-07-08 19:22:51
...

完整错误信息:

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESSFOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THECOPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVERCAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICTLIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING INANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THEPOSSIBILITY OF SUCH DAMAGE.

在出现此错误的项目上-->单击鼠标右键-->Build Path-->Configure Build Path

按下列步骤操作:

20180307001.png

201803070002.png

201803070003.png

201803070004.png

201803070005.png

 

 

 

  • The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build
            
    
    博客分类: 异常解决 jsp异常javax.servletnot found on the Java Build 
  • 大小: 114.8 KB
  • The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build
            
    
    博客分类: 异常解决 jsp异常javax.servletnot found on the Java Build 
  • 大小: 46.5 KB
  • The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build
            
    
    博客分类: 异常解决 jsp异常javax.servletnot found on the Java Build 
  • 大小: 42.9 KB
  • The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build
            
    
    博客分类: 异常解决 jsp异常javax.servletnot found on the Java Build 
  • 大小: 116.8 KB
  • The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build
            
    
    博客分类: 异常解决 jsp异常javax.servletnot found on the Java Build 
  • 大小: 108.4 KB

上一篇: JSP注释

下一篇: JSP声明