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

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web50

  • via Unknown by 807554,
  • via Unknown by 843840,
  • Stack trace

    • 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(Unknown Source) at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source) at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source) at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source) at org.apache.tomcat.core.ContextManager.internalService(Unknown Source) at org.apache.tomcat.core.ContextManager.service(Unknown Source) at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source) at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source) at java.lang.Thread.run(Thread.java:484)

    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

    We couldn't find other users who have seen this exception.