#The default superclass, "javax.servlet.http.HttpServlet" error
1 messages · Page 1 of 1 (latest)
<@&987246399047479336> please have a look, thanks.
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
The default superclass, "javax.servlet.http.HttpServlet", according to the project's Dynamic Web Module facet version (2.5), was not found on the Java Build Path. this is the error
@ancient dock I'm facing the same issue. I'll let you know if I can find a workaround, but it doesn't seem to affect running it on the server.
Does it run on yours?
Closed the thread due to inactivity.
If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍
The issue was that I was missing the servlet-API dependency in my pom.xml file and also modified the dynamic web module facet to version 5 and it worked
I found an alternative solution if the others did not work, and that was creating a dynamic web project in eclipse with the target runtime set immediately in project creation, and that solved the issue for me. It doesn't seem to clear if I created the project and added the runtime later or even tweaked build path, etc. It could have been something caused by eclipse choosing an incompatible web module version for the version of server running.
@ancient dock
Closed the thread due to inactivity.
If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍
yeah I think that's the problem with Eclipse and I've seen that solution too, Glad it worked