aspose file tools*
The moose likes Servlets and the fly likes Only one question in Servlet exception. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Only one question in Servlet exception." Watch "Only one question in Servlet exception." New topic
Author

Only one question in Servlet exception.

Shanmugam nagaraj
Ranch Hand

Joined: May 07, 2007
Posts: 76
hi ,

Actually I am very new to tomcat and eclipse.
my applications is get running fine when I not use the option reload in the tomcat. If I click the folder directly without using the reload button everything is going fine. while I use the reload button

Iam getting some exception like this :
javax.servlet.ServletException: Wrapper cannot find servlet class cart.servlet.Welcome or a class it depends on

What may be the issue , any body come over like issue pls let me know,.

Thanks

Shanmugam


Thanks <br />Shanmugam N
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9499
    
    2

What is that your post always says Only one question...Why??? You only want to ask one question everytime??


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
I have used reload quite a few times to pick up my changes.I have not seen this error before.Reload has similar effect as stopping and starting the web application.

Better you could have posted this in the Tomcat forum.


Rahul Bhattacharjee
LinkedIn - Blog
Deepak Bala
Bartender

Joined: Feb 24, 2006
Posts: 6662
    
    5

If I click the folder directly without using the reload button everything is going fine


Are you trying to say when you hit a URL in your web browser ?


SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Shanmugam nagaraj
Ranch Hand

Joined: May 07, 2007
Posts: 76
What is that your post always says Only one question...Why??? You only want to ask one question everytime??
--------------------
Jothi Shankar Kumar Sankararaj

Is this makes any problem to you???....
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9499
    
    2

Shanmugam,

No problem for me. If your title says exactly what your post is about, then it might attract more ranchers to respond to your question...
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

Ease up guys Jothi is probably referring to what we call "Use a meaningful subhject line" for your threads, which is explained here :
http://faq.javaranch.com/view?UseAMeaningfulSubjectLine


[My Blog]
All roads lead to JavaRanch
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Does your deployment descriptor (web.xml) have a servlet entry with a class attribute that has a value of cart.servlet.Welcome.

If so, and you don't have that class in your project anymore, then when you start the app (if you have the load-on-startup attribute set) then the container will look for that class and throw the exception when it can't find it.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Only one question in Servlet exception.