title: Eclipse detects no errors but can't find bean when running tomcat
body: <p>Eclipse does not detect any errors in the code but when I run it through Tomcat, it won't render in the browser because it cannot locate the resource. The console says</p>
  <pre><code>Unable to load configuration. - bean - jar:file:/Users/jasonrodriguez/Java/apache-tomcat-7.0.47/wtpwebapps/TutorialFinder/WEB-INF/lib/struts2-gxp-plugin-2.3.15.3.jar!/struts-plugin.xml:8:162 
  </code></pre>
  <p>but my library path is connected to <code>lib</code> like it is supposed to and I have the whole library of jars. Am I missing something?</p>
  <p><strong>Here is my action class :</strong></p>
  <pre><code>package org.koushik.javabrains.action;
  
  import org.koushik.javabrains.service.TutorialFinderService;
  
  public class TutorialAction {
      public String execute() {
          TutorialFinderService tutorialFinderService = new TutorialFinderService();
          String bestTutorialSite = tutorialFinderService.getBestTutorialSite();
          System.out.println(bestTutorialSite);
          return &quot;success&quot;;
      }
  
  }
  </code></pre>
  <p><strong><code>struts.xml</code> :</strong></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;!DOCTYPE struts PUBLIC
      &quot;-//Apache Software Foundation//DTD Struts Configuration 2.3//EN&quot;
      &quot;http://struts.apache.org/dtds/struts-2.3.dtd&quot;&gt;
  
  &lt;struts&gt;
      &lt;package name=&quot;default&quot; namespace=&quot;/tutorials&quot; extends=&quot;struts-default&quot;&gt;
          &lt;action name=&quot;getTutorial&quot; class=&quot;org.koushik.javabrains.action.TutorialAction&quot;&gt;
              &lt;result name=&quot;success&quot;&gt;/success.jsp&lt;/result&gt;
              &lt;result name=&quot;failure&quot;&gt;/error.jsp&lt;/result&gt;
          &lt;/action&gt;
      &lt;/package&gt;
  &lt;/struts&gt;
  </code></pre>
  <p><strong><code>web.xml:</code></strong></p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;
  &lt;web-app xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot; xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd&quot; id=&quot;WebApp_ID&quot; version=&quot;3.0&quot;&gt;
    &lt;display-name&gt;TutorialFinder&lt;/display-name&gt;
    &lt;welcome-file-list&gt;
      &lt;welcome-file&gt;index.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;index.jsp&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.html&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.htm&lt;/welcome-file&gt;
      &lt;welcome-file&gt;default.jsp&lt;/welcome-file&gt;
    &lt;/welcome-file-list&gt;
    
        &lt;filter&gt;
          &lt;filter-name&gt;struts2&lt;/filter-name&gt;
          &lt;filter-class&gt;org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter&lt;/filter-class&gt;
        &lt;/filter&gt;
        
        &lt;filter-mapping&gt;
          &lt;filter-name&gt;struts2&lt;/filter-name&gt;
          &lt;url-pattern&gt;/*&lt;/url-pattern&gt;
        &lt;/filter-mapping&gt;
  &lt;/web-app&gt;
  </code></pre>
  <p><strong>Here is a screenshot of my file hierarchy :</strong></p>
  <p><img src="https://i.stack.imgur.com/GyYjA.png" alt="enter image description here" /></p>
  <p><strong>Here are my jars :</strong></p>
  <p><img src="https://i.stack.imgur.com/QKLq2.png" alt="enter image description here" />
  <img src="https://i.stack.imgur.com/UUgfq.png" alt="enter image description here" />
  <img src="https://i.stack.imgur.com/z9v9m.png" alt="enter image description here" />
  <img src="https://i.stack.imgur.com/HvEng.png" alt="enter image description here" /></p>