aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Cannot deploy servlet(resource not available) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Cannot deploy servlet(resource not available)" Watch "Cannot deploy servlet(resource not available)" New topic
Author

Cannot deploy servlet(resource not available)

Sefa Urgenc
Ranch Hand

Joined: Jul 25, 2002
Posts: 34
Hi y'all,

I have a problem deploying the first servlet from Head First, tell me what I am doing wrong (Tomcat5, Java 1.5, WinXP).

http://localhost:8080/ch1/Serv1

and my web.xml is


I have compiled the servlet and put it under webapps\ch1\WEB-INF\classes\Ch1Servlet.class

Thanx,
Sefa Urgenc
Sebastien Col
Greenhorn

Joined: Aug 18, 2005
Posts: 13
Hi,
Did you add the ch1 context in the server.xml file ?
Which error do you actually get ?
Seb
Pramod Kumar Pandey
Ranch Hand

Joined: Dec 05, 2013
Posts: 51

Would you please paste the stackTrace you are getting ?
Frits Walraven
Creator of Enthuware JWS+ V6
Bartender

Joined: Apr 07, 2010
Posts: 1696
    
  25

Pramod Kumar Pandey wrote:Would you please paste the stackTrace you are getting ?

Well I guess he solved it 9 years ago
 
Don't get me started about those stupid light bulbs.
 
subject: Cannot deploy servlet(resource not available)