aspose file tools*
The moose likes Other Java Products and Servers and the fly likes servlet package not found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "servlet package not found" Watch "servlet package not found" New topic

servlet package not found

Sophia Choi
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
I have tried to run a simple HelloWorld servlet in my PC. But it says package javax.servlet not found. So, I have installed Resin, the problem is still here. Beans and JSP are running well.
Anyone knows what is the problem?
My PC has java 1.4.0_01 and JSWDK-1.0.1
and Resin 1.3.0.
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
Do you have the RESIN_HOME and JAVA_HOME environment variables set properly? Does this occur when you run the example or when you compile it? Are you sure your using Resin 1.3? That is a very old version. You may want to consider an upgrade.

Matthew Phillips
Sophia Choi
Ranch Hand

Joined: Mar 22, 2002
Posts: 106
Thanks for your reply. I have found out what my problem is. I omit the servlet classpath c:\jswdk-1.0.1\lib\servlet.jar
I agree. Here's the link:
subject: servlet package not found
Similar Threads
anything tomcat-users.xml equivalent in resin?
newbie a simple one- cant invoke servlet
what wrong ? :-(
TagLib Compilation Error