title: org.apache.jasper.JasperException: java.lang.ClassNotFoundException
body: <p>I have a project in which I'm going in this way</p>
  
  <ol>
  <li>Create Account ->Show Menu. On selecting choice 1 ->SelectPost.jsp</li>
  </ol>
  
  <p>and from a previously created account:</p>
  
  <ol start="2">
  <li>Login -> Show Menu. On selecting choice 1 ->SelectPost.jsp</li>
  </ol>
  
  <p>Whenever I follow path 1 I get this exception, which I don't get on following path 2:</p>
  
  <pre><code>org.apache.jasper.JasperException: java.lang.ClassNotFoundException: org.apache.jsp.SelectPost_jsp
  org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:168)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
  
  root cause
  
  java.lang.ClassNotFoundException: org.apache.jsp.SelectPost_jsp
  java.net.URLClassLoader$1.run(URLClassLoader.java:366)
  java.net.URLClassLoader$1.run(URLClassLoader.java:355)
  java.security.AccessController.doPrivileged(Native Method)
  java.net.URLClassLoader.findClass(URLClassLoader.java:354)
  org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:132)
  org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:63)
  org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:162)
  org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:356)
  org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
  org.apache.jasper.servlet.JspServlet.service(JspServlet.java:333)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
  org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
  </code></pre>
  
  <p>I cannot seem to find out the error. It is working fine one way but not the other. Otherwise, the whole project is working fine.
  Can anybody tell me what to do?</p>
  
  <p>Update: Now its showing the same error in both the paths.</p>