special! (Why am I swearing, because this problem is mentally retarded + can't understand)
I believe that many people have encountered
org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [XXX] in DispatcherServlet with name 'springMVC'
Familiar, old irons, yes I also encountered this problem. Note: The premise is that my other connections are good , but the newly added controller connection is not good (this place makes me a little puzzled), oh, My lady gaga, F**K ME!
The specific operation steps are as follows:
1. Check the web configuration and scan the package path problem, OK no problem
2. Check the code in the controller, OK no problem
No problem, what to do with swollen swollen... Well, let's just struggle once and do the following operations, pay attention because this operation makes me feel reborn and overjoyed, like a nirvana phoenix... ......gaga
1. Open the terminal of idea and type mvn clean (yes, it is clean again)
2. Idea's edit configurations --> deployment point "+", reload the project again
Start the project....then, then.......... to be able to access
Finally, let me ask you, is it a dick or not