Why servlet cannot work?
843840Feb 25 2002 — edited Oct 11 2005I change from using tomcat to Apache. And I have the same problem when I first install tomcat. the error message is "package javax.servlet does not exist"
I have already set the classpath as
C:\Program Files\Apache JServ 1.1.2\ApacheJServ.jar;
C:\JSDK2.0\lib\jsdk.jar;C:\jdk1.3.1_02;
C:\JSDK2.0\servlet.jar
and the path as
%SystemRoot%\system32;%SystemRoot%;
%SystemRoot%\System32\Wbem;
C:\jdk1.3.1_02\bin;%CLASSPATH%;
C:\JSDK2.0\bin;%PATH%
but still doesn't work. and i have also installed apache jserv. however i am able to view the servlet file,"IsItWorking" in the browser. but when i place my servlets into the same file, it doesn't work.
I check the logs file and receive the following error
(ERROR) ajp12: Servlet Error: ClassNotFoundException: HelloWorldServlet
and
ApacheJServ/1.1.2: Exception creating the server socket: java.net.BindException: Address in use: JVM_Bind
can someone with a kind soul please help me out...
i'm really stuck!
thx in advance!