3 Replies Latest reply on May 17, 2002 11:42 AM by Javier Torreblanca Beltran

    HELP HELP HELP!!  Cannot get JSPs to Compile

    Adam Greene Newbie

      This is really important, I have a deadline and I cannot get JSPs to compile in JBoss RC1 / Tomcat 4.0.3. It keeps complaining that it cannot find javax.servlet.*:

      org.apache.jasper.JasperException: Unable to compile class for JSP

      C:\jboss-3.0.0RC1_tomcat-4.0.3\catalina\work\localhost\test\index$jsp.java:3: Package javax.servlet not found in import.
      import javax.servlet.*;
      ^

      C:\jboss-3.0.0RC1_tomcat-4.0.3\catalina\work\localhost\test\index$jsp.java:4: Package javax.servlet.http not found in import.
      import javax.servlet.http.*;
      ^

      C:\jboss-3.0.0RC1_tomcat-4.0.3\catalina\work\localhost\test\index$jsp.java:5: Package javax.servlet.jsp not found in import.
      import javax.servlet.jsp.*;
      ^

      C:\jboss-3.0.0RC1_tomcat-4.0.3\catalina\work\localhost\test\index$jsp.java:6: Package org.apache.jasper.runtime not found in import.
      import org.apache.jasper.runtime.*;
      ^

      C:\jboss-3.0.0RC1_tomcat-4.0.3\catalina\work\localhost\test\index$jsp.java:9: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.index$jsp not found.
      public class index$jsp extends HttpJspBase {
      ^