title: getDispatcherType() is undefined for the type HttpServletRequest
body: <p>I have imported a Java dynamic web project into the Eclipse IDE (which was implemented in Eclipse IDE and properly working).</p>
  
  <p>I'm getting a "<code>getDispatcherType()</code> is undefined for the type <code>HttpServletRequest</code>" error while running the project.</p>
  
  <p>I have copied every file into IDE as per the structure and the work is done.</p>
  
  <p>Now I just want to know why I am getting this error when I have imported the project. Did anyone faced the same issue? Please let me know what mistake I might have made.</p>