org.apache.jasper.JasperException: Unable to compile Note: sun.tools.javac.Main has been deprecated. SQLHelperBean.java:49: Undefined variable or class name: Priority log.logMessage(vvsintExp.getErrorMessage(),Priority.FATAL); SQLHelperBean.java:104: Undefined variable or class name: Priority log.logMessage(vvsintExp.getErrorMessage(),Priority.FATAL); ^ 7 errors, 1 warning

Oracle Community | 807595 | 1 decade ago
  1. 0

    Java servlet error

    Oracle Community | 1 decade ago | 807595
    org.apache.jasper.JasperException: Unable to compile Note: sun.tools.javac.Main has been deprecated. SQLHelperBean.java:49: Undefined variable or class name: Priority log.logMessage(vvsintExp.getErrorMessage(),Priority.FATAL); SQLHelperBean.java:104: Undefined variable or class name: Priority log.logMessage(vvsintExp.getErrorMessage(),Priority.FATAL); ^ 7 errors, 1 warning
  2. 0

    JDBC/MySQL Problem

    Oracle Community | 1 decade ago | 843835
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. C:\tomcat\work\localhost_8080\_0002fdb_0002ejspdb_jsp_10.java:62: Undefined variable or class name: DriverManager conn = DriverManager.getConnection("jdbc:mysql:numbers", "username", "password"); ^ 1 error, 1 warning
  3. 0

    Problem in inserting data into access database through jsp file

    Coderanch | 8 years ago | kanwal mandair
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occured between lines: 2 and 51 in the jsp file: /jsp/final/example5.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\examples\jsp\final\example5$jsp.java:67: Undefined variable or class name: exec exec.printStackTrace(); ^ 1 error, 1 warning
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Interesting

    Oracle Community | 1 decade ago | 807596
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred between lines: 187 and 189 in the JSP file: /thread-flat.jsp Generated servlet error: /var/opt/SUNWappserver7/domains/software/javaforums/generated/jsp/j2ee-modules/java/_jasper/_thread_0002dflat_jsp.java:594: Undefined variable or class name: rewardManager int points = rewardManager.getPoints(thread); ^ An error occurred between lines: 189 and 190 in the JSP file: /thread-flat.jsp Generated servlet error: /var/opt/SUNWappserver7/domains/software/javaforums/generated/jsp/j2ee-modules/java/_jasper/_thread_0002dflat_jsp.java:597: Undefined variable or class name: rewardManager int pointsRewarded = rewardManager.getPointsRewarded(thread); ^ An error occurred at line: 70 in the JSP file: /thread-messagebox.jsp Generated servlet error: /var/opt/SUNWappserver7/domains/software/javaforums/generated/jsp/j2ee-modules/java/_jasper/_thread_0002dflat_jsp.java:1615: Undefined variable or class name: rewardManager int pointsForThread = rewardManager.getPoints(thread); ^ 3 errors, 1 warning
  6. 0

    tomcat 4 error

    Google Groups | 1 decade ago | peter choe
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated. An error occurred between lines: 3 and 5 in the jsp file: /index.jsp Generated servlet error: /export/home/tomcat/work/localhost/email/index$jsp.java:68: Class org.apache.jsp.PoolManager not found. PoolManager poolMgr = PoolManager.getInstance(); ^ An error occurred between lines: 3 and 5 in the jsp file: /index.jsp Generated servlet error: /export/home/tomcat/work/localhost/email/index$jsp.java:68: Class org.apache.jsp.PoolManager not found. PoolManager poolMgr = PoolManager.getInstance(); ^ An error occurred between lines: 3 and 5 in the jsp file: /index.jsp Generated servlet error: /export/home/tomcat/work/localhost/email/index$jsp.java:68: Undefined variable or class name: PoolManager PoolManager poolMgr = PoolManager.getInstance(); ^ 3 errors, 1 warning

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.apache.jasper.JasperException

      Unable to compile Note: sun.tools.javac.Main has been deprecated. SQLHelperBean.java:49: Undefined variable or class name: Priority log.logMessage(vvsintExp.getErrorMessage(),Priority.FATAL); SQLHelperBean.java:104: Undefined variable or class name: Priority log.logMessage(vvsintExp.getErrorMessage(),Priority.FATAL); ^ 7 errors, 1 warning

      at org.apache.tomcat.facade.JasperLiaison.javac()
    2. org.apache.tomcat
      Ajp12Interceptor.processConnection
      1. org.apache.tomcat.facade.JasperLiaison.javac(JspInterceptor.java:898)
      2. org.apache.tomcat.facade.JasperLiaison.processJspFile(JspInterceptor.java:733)
      3. org.apache.tomcat.facade.JspInterceptor.requestMap(JspInterceptor.java:506)
      4. org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:968)
      5. org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:875)
      6. org.apache.tomcat.core.ContextManager.service(ContextManager.java:833)
      7. org.apache.tomcat.modules.server.Ajp12Interceptor.processConnection(Ajp12Interceptor.java:221)
      7 frames
    3. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:494)
      1 frame
    4. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:516)
      1 frame
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:536)
      1 frame