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 Web Services and the fly likes Cannot able to create a wsdl file 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 » Web Services
Bookmark "Cannot able to create a wsdl file" Watch "Cannot able to create a wsdl file" New topic

Cannot able to create a wsdl file

rajashree loganayagi

Joined: Apr 12, 2011
Posts: 20

I am pretty new to web services. I tried to deploy a war file in Jboss inorder to get the wsdl file. But it throws an error like this:

Please help me to solve this error.
Vijitha Kumara

Joined: Mar 24, 2008
Posts: 3816

java.lang.NoClassDefFoundError: javax/servlet/ServletContext...

This says it cannot find the servlet context. Can you show what is the content and how they are written in your war file? What tools and how you are using them?

[How to ask questions] [Twitter]
Ivan Krizsan
Ranch Hand

Joined: Oct 04, 2006
Posts: 2198
The ServletContext should be part of the servlet container, so you do not need to include it yourself.
Take a look at this webpage, seems like others have had similar problems:
Best wishes!

My free books and tutorials:
Don't get me started about those stupid light bulbs.
subject: Cannot able to create a wsdl file
Similar Threads
new to db connection help needed
Error in Deployment
PickList RichFaces
Class Not Found Exception
JBoss 4.2 - PortableRemoteObject.narrow problem.