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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807554, 1 year ago
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
via Oracle Community by 843840, 6 months ago
Unable to compile C:\jdk1.3.1\jakarta-tomcat-3.3a\work\DEFAULT\internet\jsp\login_1.java:7: Package servlets not found in import. import servlets.*; ^ 1 error
via Coderanch by northfield Sid, 1 year ago
Unable to compile D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\Hour8\overridingToString_1.java:6: Class Hour8.OverridingToString not found in import. import Hour8.OverridingToString; ^ 1 error
via Oracle Community by 807553, 1 year ago
Unable to compile D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour8\overridingToString_1.java:6: Class OverridingToString not found in import. import OverridingToString; ^ 1 error
via Coderanch by northfield Sid, 1 year ago
Unable to compile D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\jsp\Hour8\overridingToString_1.java:6: Class OverridingToString not found in import. import OverridingToString; ^ 1 error
via Coderanch by northfield Sid, 1 year ago
Unable to compile D:\tomcat\jakarta-tomcat-3.3.1\work\DEFAULT\myJSPs\Hour8\overridingToString_1.java:6: Class OverridingToString not found in import. import OverridingToString; ^ 1 error
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 java.lang.Thread.run(Thread.java:484)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.