aspose file tools
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

Win a copy of Head First Android this week in the Android forum!
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
Don't get me started about those stupid light bulbs.
subject: javax.servlet not found error
It's not a secret anymore!