Yesservlet-api.jar, servlet abstracts the HTTP protocol and is one of the Java EE APIs. Usually a complete web program also requires the support of JDBC driver, which Tomcat does not come with, because it depends on the database you use. Each database has its own driver.
Check if you have similar libraries elsewhere.
It seems that eclipse comes with J2EE libraries, but other developers don’t know much about it
Yes
servlet-api.jar
, servlet abstracts the HTTP protocol and is one of the Java EE APIs. Usually a complete web program also requires the support of JDBC driver, which Tomcat does not come with, because it depends on the database you use. Each database has its own driver.