This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
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 Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "javax.servlet not found error" Watch "javax.servlet not found error" New topic
Author

javax.servlet not found error

mandeep malhotra
Greenhorn

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
Greenhorn

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
Rancher

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: javax.servlet not found error
 
It's not a secret anymore!