Jetty Http Error 500 Unable To Compile Class For Jsp
Contents |
Things LocationTech Long-Term Support PolarSys Science OpenMDM More Community Marketplace Events Planet Eclipse Newsletter Videos Participate Report a Bug Forums
Org.apache.jasper.jasperexception: Pwc6033: Unable To Compile Class For Jsp
Mailing Lists Wiki IRC How to Contribute Working Groups Automotive Internet the type java.io.objectinputstream cannot be resolved of Things LocationTech Long-Term Support PolarSys Science OpenMDM Toggle navigation Home Projects Forums Eclipse Community
"org.apache.jasper.jasperexception: Unable To Compile Class For Jsp"
Forums Forum Search: Search Help Register Login Home Home» Newcomers» Newcomers» Unable to compile class for JSP Show: Today's Messages :: Show Polls :: Message Navigator Unable to compile class for JSP [message #641528] Thu, 25 November 2010 20:12 No real nameMessages: 3Registered: November 2010 Junior Member I'm getting this extremely frustrating error. I've tried all the solutions I could find on the web: including adding JDK to my project build path and adding tools.jar to my lib. I'm running the google app engine eclipse plugin btw. It's still not working....can someone please advise me on how to fix this issue? Here's the error: HTTP ERROR 500 Problem accessing /gps.jsp. Reason: Unable to compile class for JSP Generated servlet error: [javac] C:\Users\jhwang\AppData\Local\Temp\Jetty_127_0_0_1_8888_war_ ___.g0qk00\jsp\org\apache\jsp\gps_jsp.java:124: 'catch' without 'try' [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\jhwang\AppData\Local\Temp\Jetty_127_0_0_1_8888_war_ ___.g0qk00\jsp\org\apache\jsp\gps_jsp.java:124: ')' expected [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\jhwang\AppData\Local\Temp\Jetty_127_0_0_1_8888_war_ ___.g0qk00\jsp\org\apache\jsp\gps_jsp.java:124: not a statement [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\jhwang\AppData\Local\Temp\Jetty_127_0_0_1_8888_war_ ___.g0qk00\jsp\org\apache\jsp\gps_jsp.java:124: ';' expected [javac] } catch (Throwable t) { [javac] ^ Generated servlet error: [javac] C:\Users\jhwang\AppData\Local\Temp\Jetty_127_0_0_1_8888_war_ ___.g0qk00\jsp\org\apache\jsp\gps_jsp.java:131: 'finally' without 'try' [javac] } finally { [javac] ^ Generated servlet error: [javac] C:\Users\jhwang\AppData\Local\Temp\Jetty_127_0_0_1_8888_war_ ___.g0qk00\jsp\org\apache\jsp\gps_jsp.java:37: 'try' without 'catch' or 'finally' [javac] try { [javac] ^ Generated servlet error: [javac] C:\Users\jhwang\AppData\Local\Temp\Jetty_127_0_0_1_8888_war_ ___.g0qk00\jsp\org\apache\jsp\gps_jsp.java:135: reached end of file while parsing [javac] } [java
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack https://www.eclipse.org/forums/index.php/t/200920/ Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up JSP compilation error http://stackoverflow.com/questions/32583103/jsp-compilation-error-on-jetty-9-3-3 on jetty-9.3.3 up vote 1 down vote favorite I have a webapp application which was running on embedded Jetty-7.6.8 (jdk-6), but due to Diffe-Hellman error on the browser we decided to move to newer version of Jetty. So, we moved to Jetty-9.3.3. As Jetty-9.x needs jdk-8, I upgraded jdk also. Right now jetty is starting up with no error but when I try to access my login page I get an unable compile jsp error. These are the dependencies: -org.eclipse.jetty.apache-jsp-9.3.3.v20150827.jar -org.mortbay.jasper.apache-el-8.0.23.M1.jar -org.mortbay.jasper.apache-jsp-8.0.23.M1.jar -org.eclipse.jetty.orbit.org.eclipse.jdt.core-3.8.2.v20130121.jar -jetty-continuation-9.3.3.v20150827.jar -jetty-http-9.3.3.v20150827.jar -jetty-io-9.3.3.v20150827.jar -jetty-security-9.3.3.v20150827.jar -jetty-server-9.3.3.v20150827.jar -jetty-servlet-9.3.3.v20150827.jar -jetty-util-9.3.3.v20150827.jar -jetty-webapp-9.3.3.v20150827.jar -jetty-xml-9.3.3.v20150827.jar -servlet-api-3.1.jar The error which comes on the log/browser: HTTP ERROR 500 Problem accessing /xdadm/test.jsp. Reason: Server Error Caused by: org.apache.jasper.JasperException: Unable to compile class for JSP at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:600) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:363) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:396) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:340) a
here for a quick http://stackoverflow.com/questions/6501530/unable-to-load-class-for-jsp-error-running-any-jsp-file-with-eclipse-gpe-g overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with unable to us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up unable to compile “Unable to load class for JSP” error running ANY JSP file with Eclipse / GPE / Google App Engine up vote 0 down vote favorite I'm just trying to load any JSP file, but I get the same error, no matter if it's an empty application or it's one of the demos Google App Engine provides. I think it has something to do with my Eclipse settings. Any help would be so much appreciated. I'm just about to give up. HTTP ERROR 500 Problem accessing /guestbook.jsp. Reason: Unable to load class for JSP Caused by: org.apache.jasper.JasperException: Unable to load class for JSP at org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:630) at org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:144) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:329) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) at com.google.appengine.tools.development.PrivilegedJspServlet.access$101(PrivilegedJspServlet.java:23) at com.google.appengine.tools.development.PrivilegedJspServlet$2.run(PrivilegedJspServlet.java:59) at java.security.AccessController.doPrivileged(Native Method) at com.google.appengine.tools.development.PrivilegedJspServlet.service(PrivilegedJspServlet.java:57) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.mortbay.jetty.servlet.ServletHold