Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. Thread.run() has thrown a JasperException
    Java Runtime
    0
    0
    2
  2. ContainerBase.invoke() has thrown a JasperException
    Tomcat Catalina
    0
    0
    2

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:4: Class or interface declaration expected. import javax.servlet.*; ^ D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:10: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.userCounter$jsp not found. public class userCounter$jsp extends HttpJspBase { ^ 2 errors, 1 warning
35 matching frames hidden
    at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
    at java.lang.Thread.run(Thread.java:536)

External results for this pattern (10)

  1. 843835via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred between lines: 3 and 6 in the jsp file: /BannerAdvert.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\BannerAdvert$jsp.java:59: Class org.apache.jsp.var not found. var randomAdvertNumber = parseInt (Math.random() * 3) + 1; ^ An error occurred between lines: 3 and 6 in the jsp file: /BannerAdvert.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\BannerAdvert$jsp.java:59: Method parseInt(double) not found in class org.apache.jsp.BannerAdvert$jsp. var randomAdvertNumber = parseInt (Math.random() * 3) + 1; ^ An error occurred between lines: 3 and 6 in the jsp file: /BannerAdvert.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\Standalone\localhost\_\BannerAdvert$jsp.java:60: Class org.apache.jsp.var not found. var imgName = "advertImage" + randomAdvertNumber + " .jpg"; ^ 3 errors, 1 warning
    Show stack trace
  2. 843835via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred between lines: 13 and 108 in the jsp file: /Novum/shop-postorder.jsp Generated servlet error: C:\Tomcat\jakarta-tomcat-4.0.4\work\Standalone\localhost\_\Novum\shop_0002dpostorder$jsp.java:109: '}' expected. Stmt.executeUpdate(query); ^ An error occurred between lines: 13 and 108 in the jsp file: /Novum/shop-postorder.jsp Generated servlet error: C:\Tomcat\jakarta-tomcat-4.0.4\work\Standalone\localhost\_\Novum\shop_0002dpostorder$jsp.java:111: Statement expected. private int getLastId(Connection connection) ^ An error occurred between lines: 13 and 108 in the jsp file: /Novum/shop-postorder.jsp Generated servlet error: C:\Tomcat\jakarta-tomcat-4.0.4\work\Standalone\localhost\_\Novum\shop_0002dpostorder$jsp.java:112: '{' expected. throws SQLException sql{ ^ An error occurred between lines: 13 and 108 in the jsp file: /Novum/shop-postorder.jsp Generated servlet error: C:\Tomcat\jakarta-tomcat-4.0.4\work\Standalone\localhost\_\Novum\shop_0002dpostorder$jsp.java:136: '{' expected. throws SQLException sql{ ^ 4 errors, 1 warning
    Show stack trace
  3. 843835via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\Apache\Tomcat 4.0\work\Standalone\localhost\aos\form$jsp.java:89: 'catch' without 'try'. } catch (Throwable t) { ^ C:\Apache\Tomcat 4.0\work\Standalone\localhost\aos\form$jsp.java:97: 'try' without 'catch' or 'finally'. } ^ C:\Apache\Tomcat 4.0\work\Standalone\localhost\aos\form$jsp.java:97: '}' expected. } ^ 3 errors, 1 warning
    Show stack trace
  4. 843840via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:320: 'catch' without 'try'. } catch (Throwable t) { ^ C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: 'try' without 'catch' or 'finally'. } ^ C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: '}' expected. } ^ 3 errors, 1 warning
    Show stack trace
  5. 843835via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:320: 'catch' without 'try'. } catch (Throwable t) { ^ C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: 'try' without 'catch' or 'finally'. } ^ C:\jakarta-tomcat\work\client\localhost\client\client\flightsearch$jsp.java:328: '}' expected. } ^ 3 errors, 1 warning
    Show stack trace
  6. 843835via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\jakarta-tomcat-4.0.1\work\localhost\javaAssign2\LoginController$jsp.java:5: Class User not found in import. import User; ^ C:\jakarta-tomcat-4.0.1\work\localhost\javaAssign2\LoginController$jsp.java:6: Class UserDatabase not found in import. import UserDatabase; ^ An error occured between lines: 81 and 84 in the jsp file: /LoginController.jsp Generated servlet error: C:\jakarta-tomcat-4.0.1\work\localhost\javaAssign2\LoginController$jsp.java:145: 'try' without 'catch' or 'finally'. out.write("\r\r\r"); ^ C:\jakarta-tomcat-4.0.1\work\localhost\javaAssign2\LoginController$jsp.java:149: Type expected. } catch (Throwable t) { ^ 4 errors, 1 warning
    Show stack trace
  7. 843835via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:4: Class or interface declaration expected. import javax.servlet.*; ^ D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:10: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.userCounter$jsp not found. public class userCounter$jsp extends HttpJspBase { ^ 2 errors, 1 warning
    Show stack trace
  8. 843835via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. error: An error has occurred in the compiler; please file a bug report (http://java.sun.com/cgi-bin/bugreport.cgi). 1 error, 1 warning
    Show stack trace
  9. 843835via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\jakarta-tomcat-4.0.3\work\localhost\Final\sLogs$jsp.java:177: Type expected. } catch (Throwable t) { ^ 1 error, 1 warning
    Show stack trace
  10. 843835via Oracle Community4 months ago
    Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred at line: 6 in the jsp file: /currentTime.jsp Generated servlet error: C:\tomcat\work\localhost\chapter10\currentTime$jsp.java:63: Class org.apache.jsp.TimeTag not found. TimeTag jspx th_example_time_0 = new TimeTag(); ^ An error occurred at line: 6 in the jsp file: /currentTime.jsp Generated servlet error: C:\tomcat\work\localhost\chapter10\currentTime$jsp.java:63: Class org.apache.jsp.TimeTag not found. TimeTag jspx th_example_time_0 = new TimeTag(); ^ 2 errors, 1 warning
    Show stack trace