title: The origin server did not find a current representation for the target resource or is not willing to disclose that one exists. on deploying to tomcat
body: <p>I have built an application using Spring with Eclipse IDE. When I launch the project from Eclipse IDE everything is fine but when I package the maven project as a war file and deployed to separate tomcat I have this issue</p>
  
  <pre><code>The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
  </code></pre>
  
  <p>This is a configuration snippet from my xml file</p>
  
  <pre><code>&lt;!-- View Resolver --&gt;
      &lt;beans:bean
          class="org.springframework.web.servlet.view.InternalResourceViewResolver"&gt;
          &lt;beans:property name="prefix" value="/WEB-INF/pages/" /&gt;
          &lt;beans:property name="suffix" value=".jsp" /&gt;
      &lt;/beans:bean&gt;
  </code></pre>
  
  <p>I am trying to access this controller </p>
  
  <pre><code>@RequestMapping(value = {"/welcome", "/"})
      public String defaultPage() {
              return "Web Service data successfuly consumed";
  
  
      }
  </code></pre>
  
  <p>anyone with an idea why this is failing on deployed to tomcat?</p>