
[英]Only my http://localhost:8080/ mapping works, but the rest of my Mappings in my Controller class do not
我正在创建一个功能类似于电子商务网站的项目,我的基本页面http://localhost:8080打开了,但是如果我尝试在 controller class 中添加"/admin"或任何其他映射,我会得到404白标页面。 我怎样才能使任何其他映射正确显示? 我尝试将主 class 中的@Compon ...