org.apache.jasper.JasperException: Unable to compile D:\Tomcat\jakarta-tomcat-3.3a\work\DEFAULT\W2Web\W2Login_1.java:4: Package java.sql not found in import. import java.sql.*; ^ D:\Tomcat\jakarta-tomcat-3.3a\work\DEFAULT\W2Web\W2Login_1.java:7: Superclass java.lang.Object of class W2Login_1 not found. public class W2Login_1 extends org.apache.jasper.runtime.HttpJspBase { ^ 2 errors

Oracle Community | 807554 | 1 decade ago
  1. 0

    Problems with JSPs

    Oracle Community | 1 decade ago | 807554
    org.apache.jasper.JasperException: Unable to compile D:\Tomcat\jakarta-tomcat-3.3a\work\DEFAULT\W2Web\W2Login_1.java:4: Package java.sql not found in import. import java.sql.*; ^ D:\Tomcat\jakarta-tomcat-3.3a\work\DEFAULT\W2Web\W2Login_1.java:7: Superclass java.lang.Object of class W2Login_1 not found. public class W2Login_1 extends org.apache.jasper.runtime.HttpJspBase { ^ 2 errors
  2. 0

    JAVACLASS RUNS FROM COMMAND PROMPT BUT NOT WHEN CALLED BY JSP

    Oracle Community | 1 decade ago | 843840
    org.apache.jasper.JasperException: Unable to compile C:\tomcat\work\DEFAULT\examples\sendMMSMail_1.java:9: Class SendMMSMail not found in import. import SendMMSMail; ^ 1 error
  3. 0

    Help - Tomcat - Package not found in import

    Oracle Community | 1 decade ago | 843840
    org.apache.jasper.JasperException: Unable to compile C:\jdk1.3.1\jakarta-tomcat-3.3a\work\DEFAULT\htmltest\login_1.java:5: Package usingjsp not found in import. import usingjsp.*; ^ 1 error
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    TOMCAT NOT LOCATING JAVA CLASSES

    Oracle Community | 1 decade ago | 843835
    org.apache.jasper.JasperException: Unable to compile C:\tomcat\work\DEFAULT\examples\sendMMSMail_1.java:9: Class SendMMSMail not found in import. import SendMMSMail; ^ 1 error
  6. 0

    Error in tutorial example?!

    Oracle Community | 1 decade ago | 843835
    org.apache.jasper.JasperException: Unable to compile C:\java\tomcat\work\DEFAULT\iteration\list_7.java:187: No variable apache defined in class Organization. out.print(org.apache.jasper.runtime.JspRuntimeLibrary.toString(org.apache.jasper.runtime.JspRuntimeLibrary.handleGetProperty(pageContext.findAttribute("member"), "name"))); ^ 1 error

    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 D:\Tomcat\jakarta-tomcat-3.3a\work\DEFAULT\W2Web\W2Login_1.java:4: Package java.sql not found in import. import java.sql.*; ^ D:\Tomcat\jakarta-tomcat-3.3a\work\DEFAULT\W2Web\W2Login_1.java:7: Superclass java.lang.Object of class W2Login_1 not found. public class W2Login_1 extends org.apache.jasper.runtime.HttpJspBase { ^ 2 errors

      at org.apache.tomcat.facade.JasperLiaison.javac()
    2. org.apache.tomcat
      Http10Interceptor.processConnection
      1. org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
      2. org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
      3. org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
      4. org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
      5. org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
      6. org.apache.tomcat.core.ContextManager.service(Unknown Source)
      7. org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
      7 frames
    3. Grizzly HTTP
      TcpWorkerThread.runIt
      1. org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
      1 frame
    4. Tomcat Util
      ThreadPool$ControlRunnable.run
      1. org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
      1 frame
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:484)
      1 frame