2 Replies Latest reply on Dec 12, 2002 10:04 AM by mjah

    javax.servlet.http not found when running template web clien

    mjah

      I've installed JBoss 3 on a Windows XP machine and have been able to sucessfully build and run the template application against both the default HSQL database and an Oracle 9i database.

      Now I'm trying to build and run the same application against the installation on a Linux (RedHat) server (starting with the default database). The build works, but when I attempt to run the web client, the browser gets the following:

      tmp/Jetty__8180___web-client/index$jsp.java:7: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ /tmp/Jetty__8180___web-client/index$jsp.java:8: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ /tmp/Jetty__8180___web-client/index$jsp.java:9: Package org.apache.jasper.runtime not found in import. import org.apache.jasper.runtime.*; ^ /tmp/Jetty__8180___web-client/index$jsp.java:12: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.index$jsp not found. public class index$jsp extends HttpJspBase { ^ 5 errors Date: Wed, 11 Dec 2002 21:57:27 GMT Server: Jetty/RELEASE_MAJOR_MINOR (Linux 2.4.7-10 x86) Servlet-Engine: Jetty/RELEASE_MAJOR_MINOR (Servlet 2.3; JSP 1.2; java 1.3.0) Content-Type: text/html Content-Length: 2679
      HTTP ERROR: 500 Unable to compile class for JSP /tmp/Jetty__8180___web-client/index$jsp.java:6: Package javax.servlet not found in import. import javax.servlet.*; ^ /tmp/Jetty__8180___web-client/index$jsp.java:7: Package javax.servlet.http not found in import. import javax.servlet.http.*; ^ /tmp/Jetty__8180___web-client/index$jsp.java:8: Package javax.servlet.jsp not found in import. import javax.servlet.jsp.*; ^ /tmp/Jetty__8180___web-client/index$jsp.java:9: Package org.apache.jasper.runtime not found in import. import org.apache.jasper.runtime.*; ^ /tmp/Jetty__8180___web-client/index$jsp.java:12: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.index$jsp not found. public class index$jsp extends HttpJspBase { ^ 5 errors
      RequestURI=/web-client/

      I'm assuming there is some sort of a configuration problem in the installation, as shouldn't the 'javax.servlet.http' import be satisfied by the javax.servlet.jar file?


      Thanks in advance... Maury.