Questions about web application packaging in idea
In project settings in artifacts
Add web application exploded
configure output layout
Find the following class and pull in the dependent project and it's ok
Edit configs in the configured tomcat
Add console-web:war exploded to deployment.