title: Add requestmapping anotation in my spring mvc project
body: <p><a href="https://i.stack.imgur.com/jjU2K.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jjU2K.png" alt="enter image description here" /></a></p>
  <p>when I was trying to add requestmapping annotation it got an error in the project .When I added
  <code>import org.springframework.web.bind.annotation.RequestMapping;</code></p>
  <p>got an another error.</p>
  <pre><code>package com.example.demo.controller.user;
  
  import org.springframework.stereotype.Controller;
  import org.springframework.web.bind.annotation.RequestMapping;
  
  
  @Controller
  @RequestMapping(&quot;Home&quot;)
  public class HomeController {
  
  }
  
  
  </code></pre>