Manually add an unrecognized processing method to the web folder
The process of the problem
Phenomenon : Manually add a new maven project or directly add a manually added web project. The added web folder cannot be accessed in the browser after it is started in the idea.
Reason : The manually added web folder does not have the access path mapping configured in the idea when the project is running.
The situation is as follows:
1. No association
is configured 2. Association has been configured. It
can be seen that the associated web folder idea will be specially marked-"circle dot (○)"
Add method
Solution: Select the current error project, click "file" to find "Project Structure...", then select the "Facets" menu, find the current project on the right side, add the mapping relationship in the "Web Resource Directories" column, Apply and OK Enough.
As follows: