Eclipse error “The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path”

[J]ust a few moment ago i had this kind of error message “The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path” when created Maven web project on Eclipse as you can see from picture below.

1. the error

The solution is very simple actually, don’t be panic. First just make sure that you have installed Tomcat (or any other servers) in your machine. Second, right click on the project node -> Properties -> Project Facets -> Runtimes Tab -> Check on Tomcat (or others)

2. the solution

Voila!, that error should be disappear now. Hope this tutorial helps other. Happy Java coding 😉

Facebook Comments
 

Agung Setiawan

Halo, perkenalkan saya Agung Setiawan. Seorang software developer, penulis buku, blogger, gunpla builder, tech educator dan yang paling penting console gamer.

 
Halo, perkenalkan saya Agung Setiawan.
Seorang software developer, penulis buku, blogger, gunpla builder, tech educator dan yang paling penting console gamer.
Selain di blog ini saya cukp aktif juga main di Twitter @agungsetiawanmu dan Facebook serta Instagram.
Mau belajar programming bareng? Cek YouTube channel saya.
Mau belajar Vim bareng saya?

6 thoughts on “Eclipse error “The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path”

Leave a Reply

Your email address will not be published. Required fields are marked *