This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 Murach's Java Servlets and JSP this week in the Servlets 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
 
Similar Threads
Class not found exception
IfxASFException
Exception in JMS
hibernate.cfg.xml not found
Apache and weblogic8.1SP1 communication