Questions about getting started with springmvc

1, I followed the "fourth edition of Spring practice" to build an entry springmvc, book that uses Java file configuration instead of xml file, so it is difficult to find the answer
2. The problem is that opening it with tomcat can automatically jump out of the index page, but cannot access the address mapped in controller
3. Using junit and MockMvc tests can pass the test. Now I don"t know if there is something wrong with my project configuration. Or is the browser"s access address written incorrectly?

figure 1: test access to controller passes
clipboard.png
2 controller404
clipboard.png

Mar.21,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b39ed7-e721.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b39ed7-e721.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?