Spring Boot Controller返回语句创建循环视图路径

@Controller
@RequestMapping("front")
public class FrontendController {

    @GetMapping("/hello")
    public String hello(){
        System.out.println("porttest");

        return "hello";
    }
}

going tohttp://localhost:8080/front/hello gives whitelabel error and

Circular view path [hello]: would dispatch back to the current handler URL [/front/hello] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified view, due to default view name generation.)

如果我将返回值从“ hello”更改为其他任何值,那么我会收到带有其他消息的白色标签

No message available

为什么return语句的值这样做?

im trying to return the hello.html page to browser enter image description here