I cannot access the templates I wrote under the templates folder. It will just redirect me to the Whitelabel Error Page. My structure is like this:my controller is under the `src/main/java/com.project/controller/IndexController.java` while my templates are under the `src/main/resources/templates/home.html`.My code in the controller is like this:

```
@Controller
public class IndexController {

    @RequestMapping(path = {"/vm"}, method = {RequestMethod.GET})
    public String template(Model model) {
        return "home";
    }

    @RequestMapping(path = {"/index"}, method = {RequestMethod.GET})
    @ResponseBody
    public String index() {
        return "Hello world";
    }
}

```

And my home.html is like this:

```
<html>
<body>
<pre>
    Hello World!
</pre>
</body>
</html>

```