Questions :
When the project starts clicking on a page, the console reports no mapping found for HTTP request with URI
[/dzcx_manage/host/tohostmsg.action error. However, there are corresponding Carusercontroller.java files in the project structure, and there are @RequestMapping ("/tohostmsg") defined. and configuring a controller scan in Applicationcontext.xml is also correct.
:
(1)Carusercontroller.java
(2)Configuring a controller scan in Applicationcontext.xml (all controllers in their own project are under Com.dz.controller)
Workaround :
Later project start view the log output of the console:the @RequestMapping in the Carusercontroller.java file was not scanned, annotated. Then remove the Add project again and the project starts again and everything is fine. (It is unclear what caused the first/host/.) Not scanned in sequence)
:
previously reported no mapping found for HTTP request with URI [/dzcx_manage/host/tohostmsg.action error when the red box in the above image is selected/hos t/... the @RequestMapping of the corresponding controller is not scanned or annotated.
No mapping found for HTTP request with URI [/dzcx_manage/host/tohostmsg.action