1、安装tomcat ,tomcat7.0版本以上无需配置环境变量。

2、报错
      The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

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

   解决方法:右键项目——>Build Path——>Configure Build Path——>Build and Path——>Add Library

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

选择Server Runtinme,然后点击Next

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

如图选择Tomcat,前提是已在本机安装了tomcat,然后点击Finish。

相关文章:

猜你喜欢
  • 2022-12-23
  • 2022-01-06
  • 2021-10-04
  • 2021-10-18
相关资源
相似解决方案