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

javax.servlet not found error

mandeep malhotra

Joined: Jul 19, 2006
Posts: 1
I m trying to create my very first servlet. Environment is jdk1.5.0_07 ,apache-tomcat-5.5.17. whiel trying to compile the servlet,
i m getting Error: javaxservlet class not found

I hve tried settting the classpath to servlets-api.jar(common\lib folder) , still its nt working..
Plz help me out ....
[ July 19, 2006: Message edited by: Bear Bibeault ]
naidu gulla

Joined: Jul 19, 2006
Posts: 14
hi javaranchers,
the problem may with web.xml file .
pls check it carefully definitely u will get it.
David O'Meara

Joined: Mar 06, 2001
Posts: 13459

looks like atyping error in one of your classes, assuming you have copied it cottectly. It should be javax.servlet, not javaxservlet
I agree. Here's the link:
subject: javax.servlet not found error
jQuery in Action, 3rd edition