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”.

 

posted on 2018-01-18 12:15  欣静赏悦  阅读(263)  评论(0编辑  收藏  举报