Setting Up
Base POM
Starters
These dependencies are used to set up the application automatically.
For example this prepares a MVC project:
While this adds and allows running an embedded Tomcat:
Configuration Class
The SpringBootApplication annotation combines several configuration annotations.
For a web application:
This should be a runnable class, meaning it requires the run method:
Last updated
Was this helpful?