JAVA下几个问题

一、Server MyEclipse Tomcat v8.5 was unable to start within 45 seconds. If the server requires more time

打开Workspace文件路径,然后修改如下图所示“servers.xml” 文件,然后修改“start-timeout”为一个较长时间1000.

 

 二、JSP页面报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

右键项目名称,选择Java Build Path. 然后点击“Add Liberary”, 选择“Server Runtimes”.

原文地址:https://www.cnblogs.com/windy2008/p/8309525.html