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

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 web1891

  • via Oracle Community by 807595, 11 months ago
    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
  • via Oracle Community by 843835, 1 year ago
    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
  • via Coderanch by kanwal mandair, 7 months ago
    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
  • Stack trace

    • 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(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.Ajp12Interceptor.processConnection(Ajp12Interceptor.java:221) 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:536)

    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.