• Post Reply Bookmark Topic Watch Topic
  • New Topic

Business registry problem  RSS feed

 
shelly sharma
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to register a business at IBM test registry.
For that i had compiled the RegisterBusiness.java file.Now when i tried to run the RegisterBusiness file to register a business the following error is coming.How can i correct this error so that i can register a business
C:\Beginning_JWS_Examples\Chp07\Register\classes>java com.wrox.jws.stockquote.RegisterBusiness
com.wrox.iws.stockquote.Register: Starting...
Getting authorization tokens...
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/axis/AxisFault
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.uddi4j.transport.TransportFactory.getTransport(TransportFactory.java:59)
at org.uddi4j.client.UDDIProxy.send(UDDIProxy.java:1790)
at org.uddi4j.client.UDDIProxy.get_authToken(UDDIProxy.java:1469)
at com.wrox.jws.stockquote.RegisterBusiness.main(RegisterBusiness.java:62)
 
JeanLouis Marechaux
Ranch Hand
Posts: 906
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Shelly,
Tell me if I'm wrong, but I think you've posted a lot of questions related to "NoClassDefFoundError" these last days.
So here is the definition form the Sun API.

public class NoClassDefFoundError
extends LinkageError
Thrown if the Java Virtual Machine or a classloader tries to load in the definition of a class (as part of a normal method call or as part of creating a new instance using the new expression) and no definition of the class could be found.
The searched-for class definition existed when the currently executing class was compiled, but the definition can no longer be found.


For your specific problem, it sounds like the AxisFault.class cannot be found.
Check axis.jar is in your classpath

HTH,
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!