1. Problem
There is no small blue dot in the webapp folder of idea, which means it is not a web service. What should I do?
Two. Solve
Add the following content to the pom.xml configuration file and refresh the maven dependency.
<packaging>war</packaging>