Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » HttpServlet unavailable(Servlet)
HttpServlet unavailable [message #1784132] Thu, 22 March 2018 17:39 Go to next message
George Racin is currently offline George RacinFriend
Messages: 5
Registered: March 2015
Junior Member
I installed Eclipse on a new computer. When trying to create a Servlet class, I go to JavaResources/src -> New/Class and enter the Servlet name. But when I go to Superclass and Browse, "HttpServlet" is not shown?
Re: HttpServlet unavailable [message #1784236 is a reply to message #1784132] Sat, 24 March 2018 06:46 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3155
Registered: July 2009
Senior Member

Sounds like it's not on the project's Java Build Path. Are you correctly targeting a server's libraries?

Nitin Dahyabhai
Eclipse Web Tools Platform
Re: HttpServlet unavailable [message #1784321 is a reply to message #1784236] Mon, 26 March 2018 18:11 Go to previous message
George Racin is currently offline George RacinFriend
Messages: 5
Registered: March 2015
Junior Member
I found out that I could solve the problem by going to JavaResources/src -> New/Servlet (instead of New/Class). Everything worked as expected after that.
Previous Topic:Plugins re-installation on any platform restart
Next Topic:Highlight all matches for various text
Goto Forum:
  


Current Time: Sun May 20 23:46:12 GMT 2018

Powered by FUDForum. Page generated in 0.02811 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top