title: JSP class undefined type after project conversion to maven
body: <p>Im trying to compile this project h__p://ross-warren.co.uk/my-twitter-clone-using-jsp-and-cassandra/</p>
  
  <p>I have downloaded it, and spend almost one day searching for all dependency jar files and still I was not able to run that project. When I did some search I have discover maven. So I've downloaded it, in eclipse I click convert to maven or something, I've added some dependecy records to pom.xml and I still Im not able to run the project. There are some errors in jsp files. These errors werent there befoe.</p>
  
  <p>for example in file <strong>LogChech.jsp</strong></p>
  
  <pre><code>    &lt;jsp:useBean id="User"    
      class="uk.co.ross_warren.litter.stores.UserStore"
      scope="session"
      &gt;&lt;/jsp:useBean&gt;
  </code></pre>
  
  <p>I have error <strong>Undefined type: UserStore</strong>.
  I dont know where is the problem but I think there is somethign wrong with packages, becase before project conversion I had all java files in packages (at least eclipse showed package icon) and now there is only normal folder icons and folder tree structure with all java files however the first line in java files is package something which is fine I think. </p>
  
  <p>thank you for your help</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>this is my pom.xml</p>
  
  <pre><code>   &lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;Cinnamon&lt;/groupId&gt;
    &lt;artifactId&gt;Cinnamon&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
  
        &lt;dependencies&gt;
            &lt;dependency&gt;
                          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                          &lt;artifactId&gt;slf4j-api&lt;/artifactId&gt;
                          &lt;version&gt;1.6.4&lt;/version&gt;
                &lt;/dependency&gt;
                &lt;dependency&gt;
                          &lt;groupId&gt;org.slf4j&lt;/groupId&gt;
                          &lt;artifactId&gt;slf4j-log4j12&lt;/artifactId&gt;
                          &lt;version&gt;1.6.4&lt;/version&gt;
                &lt;/dependency&gt;
                &lt;dependency&gt;
                          &lt;groupId&gt;me.prettyprint&lt;/groupId&gt;
                          &lt;artifactId&gt;hector-core&lt;/artifactId&gt;
                          &lt;version&gt;1.0-4&lt;/version&gt;
                &lt;/dependency&gt;
        &lt;/dependencies&gt;
        &lt;packaging&gt;war&lt;/packaging&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p>This is the first image how it looked like before maven conversion
  <a href="http://oi39.tinypic.com/2q84o5z" rel="nofollow">http://oi39.tinypic.com/2q84o5z</a>.</p>
  
  <p>And this is how it looks like now
  <a href="http://oi44.tinypic.com/14nmgyf" rel="nofollow">http://oi44.tinypic.com/14nmgyf</a>.</p>
  
  <p>ok stack overflow says I cant submit images, so please take that url and add jpg extension to see image</p>