OK, I've narrowed down the problem but I'm still at a brickwall. Something that
should be working is not. I'm trying to compile a simple servlet class and it
is complaining that it can't find the servlet library. Here is my code.
import java.io.*;
import java.util.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class ControllerServlet extends HttpServlet
{
}
------------------------------------------------------------------------------------
D:\>javac ControllerServlet.java
controllerservlet.java:12: package javax.servlet does not exist
import javax.servlet.*;
^
controllerservlet.java:13: package javax.servlet.http does not exist
import javax.servlet.http.*;
^
controllerservlet.java:15: cannot find symbol
symbol: class HttpServlet
public class ControllerServlet extends HttpServlet
^
3 errors
-------------------------------------------------------------------------------------
This just does not make any sense.
Here is the version I am running.
D:\>java -version
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
Could these libraries not be installing. Does anyone know how to check if they
are?
Thanks
Dave
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940446#3940446
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940446
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user