Apache tomcat cannot be found in eclipse server

Created jsp file in Eclipse and reported an error

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

It was found that apache tomcat was not added ( solution: java build path->library->add library->server runtime->add apache)


When adding the library , the server runtime related options could not be found (solution: Window->Preferences->Server->Server Envronment->add-> Tomcat )


When adding tomcat, I found that there is no (solution: enter the URL under Help->InstallNew Software, http://download.eclipse.org/releases/version name )


Found under Web, XML, Java EE and OSGi Enterprise Development

JST Server AdaptersExtensions is checked (I have installed it, so it won't appear)




Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324580357&siteId=291194637