Current lesson | Lesson 31/53

Managing Maven Dependencies with Jakarta Servlet and MySQL

Java Servlet and Apache Tomcat: Complete Course from Scratch with Eclipse 0%
Let's see how to manage Maven dependencies in pom.xml for a Servlet project: including jakarta.servlet-api with provided scope and the mysql-connector-j driver with the correct versions. I'll explain why some dependencies must be declared as provided to avoid conflicts with Tomcat.
Instructor
Up next Creating Model and Service Layer Before Connecting to the Database (Part 1)