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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 3004, 1 year ago
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
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(JSPCompiler.java:252)
at com.netscape.server.http.servlet.NSServletEntity.load(NSServletEntity.java:182)
at com.netscape.server.http.servlet.NSServletEntity.(NSServletEntity.java:83)
at com.netscape.server.http.servlet.NSServletRunner.loadServlet(NSServletRunner.java:519)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.