java.lang.Exception: Java/JSP compile error: ..\ClassCache\C120940327\C_\Netscape\Server4\docs\jsp\_nes_bb1.java:79: Exception java.sql.SQLException must be caught, or it must be declared in the throws clause of this method. out.print( runQuery(line) ); ^ 1 error at com.netscape.server.http.jsp.JSPCompiler.compileJSP(JSPCompiler.java, Compiled Code) at java.lang.Exception.<init>(Exception.java, Compiled Code) at com.netscape.server.http.jsp.JSPCompiler.compileJSP(JSPCompiler.java, Compiled Code)

Oracle Community | 3004 | 2 decades ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    JSP engine on Netscape Server 4.0

    Oracle Community | 2 decades ago | 3004
    java.lang.Exception: Java/JSP compile error: ..\ClassCache\C120940327\C_\Netscape\Server4\docs\jsp\_nes_bb1.java:79: Exception java.sql.SQLException must be caught, or it must be declared in the throws clause of this method. out.print( runQuery(line) ); ^ 1 error at com.netscape.server.http.jsp.JSPCompiler.compileJSP(JSPCompiler.java, Compiled Code) at java.lang.Exception.<init>(Exception.java, Compiled Code) at com.netscape.server.http.jsp.JSPCompiler.compileJSP(JSPCompiler.java, Compiled Code)

    Root Cause Analysis

    1. java.lang.Exception

      Java/JSP compile error: ..\ClassCache\C120940327\C_\Netscape\Server4\docs\jsp\_nes_bb1.java:79: Exception java.sql.SQLException must be caught, or it must be declared in the throws clause of this method. out.print( runQuery(line) ); ^ 1 error at com.netscape.server.http.jsp.JSPCompiler.compileJSP(JSPCompiler.java, Compiled Code) at java.lang.Exception.<init>(Exception.java, Compiled Code) at com.netscape.server.http.jsp.JSPCompiler.compileJSP(JSPCompiler.java, Compiled Code)

      at com.netscape.server.http.jsp.JSPCompiler.compileInstance()
    2. com.netscape.server
      NSServletRunner.loadServlet
      1. com.netscape.server.http.jsp.JSPCompiler.compileInstance(JSPCompiler.java:252)
      2. com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:182)
      3. com.netscape.server.http.servlet.NSServletEntity.<init>(NSServletEntity.java:83)
      4. com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner.java:519)
      4 frames