org.apache.jasper.JasperException

Unable to compile D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour10\exercise_1.java:107: 'catch' without 'try'. } catch (Exception ex) { ^ D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour10\exercise_1.java:123: 'try' without 'catch' or 'finally'. } ^ D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour10\exercise_1.java:123: '}' expected. } ^ 3 errors

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2066

  • via Oracle Community by 807553, 11 months ago
    Unable to compile D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour10\exercise_1.java:107: 'catch' without 'try'. } catch (Exception ex) { ^ D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour10\exercise_1.java:123: 'try' without
  • via Oracle Community by 843836, 4 months ago
    Unable to compile Note: sun.tools.javac.Main has been deprecated. C:\Tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\ais\pages\mine\compare_1.java:140: 'catch' without 'try'. } catch (Exception ex) { ^ C:\Tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\ais\pages
  • via Coderanch by northfield Sid, 7 months ago
    Unable to compile Note: sun.tools.javac.Main has been deprecated. C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\grid_0002dportal_0002dproject\ftplogin_1.java:110: Missing term. out.print( ^ C:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT
  • Stack trace

    • org.apache.jasper.JasperException: Unable to compile D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour10\exercise_1.java:107: 'catch' without 'try'. } catch (Exception ex) { ^ D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour10\exercise_1.java:123: 'try' without 'catch' or 'finally'. } ^ D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour10\exercise_1.java:123: '}' expected. } ^ 3 errors at org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898) at org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733) at org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506) at org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968) at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875) at org.apache.tomcat.core.ContextManager.service(ContextManager.java:833) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:176) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516) at java.lang.Thread.run(Thread.java:484)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.