Error Running Spring Boot Application
<p>Am new to spring boot.Any time I run my spring boot app, i get error.
Need help in running my spring boot application.</p>

<p>error message:
Whitelabel Error Page</p>

<p>This application has no explicit mapping for /error, so you are seeing this as a fallback.</p>

<p>Mon Oct 10 10:39:54 WAT 2016
There was an unexpected error (type=Not Found, status=404).
No message available</p>

<p>code:</p>

<pre><code>    package hello;

    import org.springframework.ui.Model;
    import org.springframework.web.bind.annotation.RequestMapping;
    import org.springframework.web.bind.annotation.RequestParam;
    import org.springframework.web.bind.annotation.RestController;

    @RestController
    public class GreetingController {

        @RequestMapping("/greeting")
        public String greeting(@RequestParam(value="name", required=false, defaultValue="World") String name, Model model) {
            model.addAttribute("name", name);
            return "greeting";
        }

    }


package com.HelloWorld;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class HelloWorldApplication {

    public static void main(String[] args) {
        SpringApplication.run(HelloWorldApplication.class, args);
    }
}

 - greeting.html

&lt;!DOCTYPE HTML&gt;
&lt;html xmlns:th="http://www.thymeleaf.org"&gt;
&lt;head&gt;
    &lt;title&gt;Getting Started: Serving Web Content&lt;/title&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;p th:text="'Hello, ' + ${name} + '!'" /&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>