springboot的helloworld页面一直404的问题 之前在网上百度到的例子一直成功不了,后来问了个大佬,改动了两个地方就好了。 项目创建部分 网上说只要选这个就好了,不过我改了之后才成功的 改动的代码部分 package hello.template.controller; import org.springframework.web.bind.annotation.PathVariable;