File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes How did I not get javax.servlet.jar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "How did I not get javax.servlet.jar" Watch "How did I not get javax.servlet.jar" New topic

How did I not get javax.servlet.jar

Hatspa Tutsutini

Joined: Oct 29, 2004
Posts: 1
Hi I recently downloaded and installed JBOSS. When trying to build the Dukes Bank example I get javac errors telling me that javax.servlet.jar cannot be found. I looked on my entire disk at every jar file on it and no javax.servlet.jar. How did Bill Gates manage this? Seriously though folks how could this possibly happen. Where did I go wrong.
DVVN Sudhakara Rao

Joined: Oct 04, 2004
Posts: 17
For compiling servlets you need servlet class files. In JBOSS you will find that jar file at C:\jboss-3.2.5\server\default\lib\jboss-j2ee.jar. Put that jar file in your class path. I think that will work for you. Any problems come back.
I agree. Here's the link:
subject: How did I not get javax.servlet.jar
It's not a secret anymore!