Idea can’t find the solution of XML configuration by running project prompt through external Tomcat

1. First load the dependencies in the normal process and configure Tomcat
2, Select the file to load, right-click Mark Directory as =>; Sources Root

Read More: