Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How did I not get javax.servlet.jar

 
Hatspa Tutsutini
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic