Spring Boot Starter Dependencies Explained
In this article, I will be covering what Spring Boot starter dependencies are and how they greatly simplify building a Spring application. Edit Problems with dependencies Suppose you are building a Spring application from scratch. Prior to Spring Boot , you had to manually add all the necessary dependencies to your project. So if you use Maven, you had to add all the dependencies to your pom file. For this, you would need to know the group id and artifact id of the dependency. You would also need to know if a particular version of a dependency is compatible with other versions, etc. This often leads to mis-matched dependencies which cause errors in the application. How Spring Boot dependencies address this issue Spring Boot provides starter dependencies. A starter dependency is nothing but a special dependency that aggregates commonly used dependencies for a particular feature. For example, suppose you are building a Spring based web application. For this, you will need to