This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Spring and the fly likes Deploy Spring Application to tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Deploy Spring Application to tomcat" Watch "Deploy Spring Application to tomcat" New topic

Deploy Spring Application to tomcat

Kunal Sathe
Ranch Hand

Joined: Apr 08, 2005
Posts: 49
I am trying to deploy a Spring Webservices Application to tomcat on a unix box. I have deployed the war file, bounced the server instance and tried to access the wsdl using the url:


However, I get the following exception:
The requested resource (Servlet spring-ws is not available) is not available.

In my packaging script, I have packaged the spring-ws-servlet.xml within the WEB-INF directory.

Can someone point me in the right direction?

Why is tomcat not able to detect the spring-ws-servlet.xml?

Thanks in advance,



David Newton

Joined: Sep 29, 2008
Posts: 12617

My first guess is that you're missing a library or one of its dependencies.
Amit kull
Ranch Hand

Joined: Jun 05, 2008
Posts: 46
Yes, it looks like library problem.
Although this may not be directly related, are you using compatible versions of libraries? (I used to get some class not found exception in one of my previous projects because CGLIB version was not compatible.)
I agree. Here's the link:
subject: Deploy Spring Application to tomcat
It's not a secret anymore!