In general, the IntelliJ IDEA recognizes the main class annotated with @SpringBootApplication and creates a run configuration for us, but it depends on the version of the tool, let's do it.
IntelliJ IDEA
Get Spring 5.0 By Example now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.