Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception In web services  RSS feed

 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello guys,

I am using Eclipse with tomcat I am getting the following exception please help. Am I missing jar file ?. Or what can be the problem ?.

INFO: The Service service, which is not valid, caused java.lang.NoClassDefFoundError: org/tempuri/GwsSoap
at cit.gaming.app.AppBean.<init>(AppBean.java:203)
at webservices.Service.<clinit>(Service.java:80)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.apache.ws.java2wsdl.SchemaGenerator.<init>(SchemaGenerator.java:121)
at org.apache.axis2.deployment.util.Utils.fillAxisService(Utils.java:306)
at org.apache.axis2.deployment.ServiceBuilder.populateService(ServiceBuilder.java:339)
at org.apache.axis2.deployment.repository.util.ArchiveReader.buildServiceGroup(ArchiveReader.java:98)
at org.apache.axis2.deployment.repository.util.ArchiveReader.processServiceGroup(ArchiveReader.java:175)
at org.apache.axis2.deployment.ServiceDeployer.deploy(ServiceDeployer.java:79)
at org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:582)
at org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:201)
at org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:271)
at org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:189)
at org.apache.axis2.deployment.DeploymentEngine.loadServices(DeploymentEngine.java:110)
at org.apache.axis2.deployment.WarBasedAxisConfigurator.loadServices(WarBasedAxisConfigurator.java:257)
at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:74)
at org.apache.axis2.transport.http.AxisServlet.initConfigContext(AxisServlet.java:486)
at org.apache.axis2.transport.http.AxisServlet.init(AxisServlet.java:406)
at org.apache.axis2.transport.http.AxisAdminServlet.init(AxisAdminServlet.java:51)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1139)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:966)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3956)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4230)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:448)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)

thanks

gurpreet
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the class org.tempuri.GwsSoap in a place where the WS container can find it?
 
Gurpreet Saini
Ranch Hand
Posts: 295
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

No, I think Please tell me the name of the jar file then I will set to the path.

thanks gurpreet
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never heard of it. Where does cit.gaming.app.AppBean originate? Its documentation should tell you where to get it if it doesn't ship with it.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!