title: Getting error : The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required
body: <p>I am learning Java web application. When I tried an example I am getting error </p>
  
  <blockquote>
    <p>The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files</p>
  </blockquote>
  
  <p>My code: </p>
  
  <pre><code>package com.tutorialspoint;
  
  import org.springframework.stereotype.Controller;
  import org.springframework.web.bind.annotation.RequestMapping;
  import org.springframework.web.bind.annotation.RequestMethod;
  import org.springframework.ui.ModelMap;
  
  @Controller
  @RequestMapping("/hello")
  public class HelloController {
  
  @RequestMapping(method = RequestMethod.GET)
  public String printHello(ModelMap model){
      model.addAttribute("message", "Hello Spring MVC Framework!");
      return "hello";
  }
  }
  </code></pre>
  
  <p>I am referring from  : <a href="http://www.tutorialspoint.com/spring/spring_mvc_hello_world_example.htm" rel="nofollow">http://www.tutorialspoint.com/spring/spring_mvc_hello_world_example.htm</a></p>
  
  <p>Please guide me to fix this issue. </p>