title: JPA, MySQL and GlassFish crud error
body: <p>I am using JPA, MySQL and GlassFish in a simple java web servlet netbeans project. It is possible to access (login) but list, edit, destroy and create doesn´t work... </p>
  
  <pre><code>"org.apache.jasper.JasperException: java.lang.ClassCastException: model.Person cannot be cast to model.Person"
  </code></pre>
  
  <p>and sometimes nothing work!</p>
  
  <pre><code>java.lang.IllegalStateException: This web container has not yet been started 
  </code></pre>
  
  <p><a href="https://www.dropbox.com/s/isazdnwizxth3lt/WebApplication2.zip?dl=0" rel="nofollow">https://www.dropbox.com/s/isazdnwizxth3lt/WebApplication2.zip?dl=0</a></p>