Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Cannot able to create a wsdl file  RSS feed

 
rajashree loganayagi
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

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
Bartender
Posts: 3992
27
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Ivan Krizsan
Ranch Hand
Posts: 2198
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
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: http://community.jboss.org/thread/55313
Best wishes!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!