Two Laptop Bag*
The moose likes Web Services and the fly likes Exception In web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Exception In web services" Watch "Exception In web services" New topic
Author

Exception In web services

Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
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
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
Is the class org.tempuri.GwsSoap in a place where the WS container can find it?


Ping & DNS - updated with new look and Ping home screen widget
Gurpreet Saini
Ranch Hand

Joined: Jun 09, 2002
Posts: 295
Hello,

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

thanks gurpreet
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39578
    
  27
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception In web services
 
Similar Threads
Axis2 Deployment Problem
Axis deployment error
No ClassDefFound Error in Axis2
Unable to get Web Service running
How to make reference to other packages in Eclipse?