Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: 500 exception while deploying a war file in tomcat

  1. #1
    Member
    Join Date
    Nov 2010
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default 500 exception while deploying a war file in tomcat

    <javacode>
    exception

    org.apache.jasper.JasperException: org.apache.jasper.JasperException: Unable to load class for JSP
    org.apache.jasper.servlet.JspServletWrapper.getSer vlet(JspServletWrapper.java:156)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    net.sourceforge.stripes.controller.DynamicMappingF ilter.doFilter(DynamicMappingFilter.java:352)
    net.sourceforge.stripes.action.ForwardResolution.e xecute(ForwardResolution.java:110)
    net.sourceforge.stripes.controller.DispatcherHelpe r$7.intercept(DispatcherHelper.java:508)
    net.sourceforge.stripes.controller.ExecutionContex t.proceed(ExecutionContext.java:158)
    net.sourceforge.stripes.controller.HttpCacheInterc eptor.intercept(HttpCacheInterceptor.java:99)
    net.sourceforge.stripes.controller.ExecutionContex t.proceed(ExecutionContext.java:155)
    net.sourceforge.stripes.controller.BeforeAfterMeth odInterceptor.intercept(BeforeAfterMethodIntercept or.java:113)
    net.sourceforge.stripes.controller.ExecutionContex t.proceed(ExecutionContext.java:155)
    net.sourceforge.stripes.controller.ExecutionContex t.wrap(ExecutionContext.java:74)
    net.sourceforge.stripes.controller.DispatcherHelpe r.executeResolution(DispatcherHelper.java:502)
    net.sourceforge.stripes.controller.DispatcherServl et.executeResolution(DispatcherServlet.java:286)
    net.sourceforge.stripes.controller.DispatcherServl et.service(DispatcherServlet.java:170)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    net.sourceforge.stripes.controller.DynamicMappingF ilter$2.doFilter(DynamicMappingFilter.java:374)
    net.sourceforge.stripes.controller.StripesFilter.d oFilter(StripesFilter.java:247)
    net.sourceforge.stripes.controller.DynamicMappingF ilter.doFilter(DynamicMappingFilter.java:361)


    root cause

    org.apache.jasper.JasperException: Unable to load class for JSP
    org.apache.jasper.JspCompilationContext.load(JspCo mpilationContext.java:630)
    org.apache.jasper.servlet.JspServletWrapper.getSer vlet(JspServletWrapper.java:144)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    net.sourceforge.stripes.controller.DynamicMappingF ilter.doFilter(DynamicMappingFilter.java:352)
    net.sourceforge.stripes.action.ForwardResolution.e xecute(ForwardResolution.java:110)
    net.sourceforge.stripes.controller.DispatcherHelpe r$7.intercept(DispatcherHelper.java:508)
    net.sourceforge.stripes.controller.ExecutionContex t.proceed(ExecutionContext.java:158)
    net.sourceforge.stripes.controller.HttpCacheInterc eptor.intercept(HttpCacheInterceptor.java:99)
    net.sourceforge.stripes.controller.ExecutionContex t.proceed(ExecutionContext.java:155)
    net.sourceforge.stripes.controller.BeforeAfterMeth odInterceptor.intercept(BeforeAfterMethodIntercept or.java:113)
    net.sourceforge.stripes.controller.ExecutionContex t.proceed(ExecutionContext.java:155)
    net.sourceforge.stripes.controller.ExecutionContex t.wrap(ExecutionContext.java:74)
    net.sourceforge.stripes.controller.DispatcherHelpe r.executeResolution(DispatcherHelper.java:502)
    net.sourceforge.stripes.controller.DispatcherServl et.executeResolution(DispatcherServlet.java:286)
    net.sourceforge.stripes.controller.DispatcherServl et.service(DispatcherServlet.java:170)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    net.sourceforge.stripes.controller.DynamicMappingF ilter$2.doFilter(DynamicMappingFilter.java:374)
    net.sourceforge.stripes.controller.StripesFilter.d oFilter(StripesFilter.java:247)
    net.sourceforge.stripes.controller.DynamicMappingF ilter.doFilter(DynamicMappingFilter.java:361)


    root cause

    java.lang.ClassNotFoundException: org.apache.jsp.WEB_002dINF.jsp.preferences.create_ jsp
    java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    java.security.AccessController.doPrivileged(Native Method)
    java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    org.apache.jasper.servlet.JasperLoader.loadClass(J asperLoader.java:134)
    org.apache.jasper.servlet.JasperLoader.loadClass(J asperLoader.java:66)
    org.apache.jasper.JspCompilationContext.load(JspCo mpilationContext.java:628)
    org.apache.jasper.servlet.JspServletWrapper.getSer vlet(JspServletWrapper.java:144)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:329)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:313)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:260)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    net.sourceforge.stripes.controller.DynamicMappingF ilter.doFilter(DynamicMappingFilter.java:352)
    net.sourceforge.stripes.action.ForwardResolution.e xecute(ForwardResolution.java:110)
    net.sourceforge.stripes.controller.DispatcherHelpe r$7.intercept(DispatcherHelper.java:508)
    net.sourceforge.stripes.controller.ExecutionContex t.proceed(ExecutionContext.java:158)
    net.sourceforge.stripes.controller.HttpCacheInterc eptor.intercept(HttpCacheInterceptor.java:99)
    net.sourceforge.stripes.controller.ExecutionContex t.proceed(ExecutionContext.java:155)
    net.sourceforge.stripes.controller.BeforeAfterMeth odInterceptor.intercept(BeforeAfterMethodIntercept or.java:113)
    net.sourceforge.stripes.controller.ExecutionContex t.proceed(ExecutionContext.java:155)
    net.sourceforge.stripes.controller.ExecutionContex t.wrap(ExecutionContext.java:74)
    net.sourceforge.stripes.controller.DispatcherHelpe r.executeResolution(DispatcherHelper.java:502)
    net.sourceforge.stripes.controller.DispatcherServl et.executeResolution(DispatcherServlet.java:286)
    net.sourceforge.stripes.controller.DispatcherServl et.service(DispatcherServlet.java:170)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
    net.sourceforge.stripes.controller.DynamicMappingF ilter$2.doFilter(DynamicMappingFilter.java:374)
    net.sourceforge.stripes.controller.StripesFilter.d oFilter(StripesFilter.java:247)
    net.sourceforge.stripes.controller.DynamicMappingF ilter.doFilter(DynamicMappingFilter.java:361)

    </javacode>


  2. #2
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: 500 exception while deploying a war file in tomcat

    This question is extremely vague with many possible causes...guess - is your jsp file compilable?

Similar Threads

  1. Hi Iam getting while iam deployin the war file in the tomcat server
    By nrao in forum What's Wrong With My Code?
    Replies: 0
    Last Post: January 10th, 2011, 07:24 PM
  2. [SOLVED] File.createTempFile() throws exception on Win7
    By jitinsingla in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: September 10th, 2010, 02:14 PM
  3. Error in validation.xml file while deploying in server
    By venkat.ravala in forum Web Frameworks
    Replies: 0
    Last Post: January 16th, 2010, 08:56 AM
  4. Error while deploying .ear file
    By urslalitha in forum Exceptions
    Replies: 1
    Last Post: August 18th, 2009, 02:56 AM
  5. exception while Read very large file > 300 MB
    By ps.ganesh in forum File I/O & Other I/O Streams
    Replies: 2
    Last Post: June 11th, 2009, 11:39 PM