I just reproduced the error it appears when this directory cant be found -> ./build/stubs/classes/ so at the directory where you run your command is no ./build/stubs/classes/ directory!
to run the command you have to be e.g. in the gt4-book-examples directory |-- gt4book-examples | |-- build | | |-- classes | | | `-- org -------- Original-Nachricht -------- > Datum: Fri, 19 Oct 2007 02:21:08 -0700 (PDT) > Von: Gokop Goteng <[EMAIL PROTECTED]> > An: [email protected] > Betreff: [gt-user]:MathService Error > Dear All, > > Please I am running the globus toolkit 4 programmer's tutorial by Borja > Sotomayor, particular the chapter 3 (Writing your first stateful Web Service > in 5 simple steps-MathService). I successfully produced the GAR file and > even see the MathService when I ran the container. But I got errors when I > ran: > > [EMAIL PROTECTED] EXAMPLES_DIR]$ javac -classpath > ./build/stubs/classes/:$CLASSPATH > org/globus/examples/clients/MathService_instance/Client.java > org/globus/examples/clients/MathService_instance/Client.java:3: package > org.apache.axis.message.addressing does not exist > import org.apache.axis.message.addressing.Address; > ^ > org/globus/examples/clients/MathService_instance/Client.java:4: package > org.apache.axis.message.addressing does not exist > import org.apache.axis.message.addressing.EndpointReferenceType; > ^ > org/globus/examples/clients/MathService_instance/Client.java:13: cannot > access org.apache.axis.client.Service > file org/apache/axis/client/Service.class not found > MathServiceAddressingLocator locator = new > MathServiceAddressingLocator(); > ^ > org/globus/examples/clients/MathService_instance/Client.java:19: cannot > resolve symbol > symbol : class EndpointReferenceType > location: class org.globus.examples.clients.MathService_instance.Client > EndpointReferenceType endpoint = new > EndpointReferenceType(); > ^ > org/globus/examples/clients/MathService_instance/Client.java:19: cannot > resolve symbol > symbol : class EndpointReferenceType > location: class org.globus.examples.clients.MathService_instance.Client > EndpointReferenceType endpoint = new > EndpointReferenceType(); > ^ > org/globus/examples/clients/MathService_instance/Client.java:20: cannot > resolve symbol > symbol : class Address > location: class org.globus.examples.clients.MathService_instance.Client > endpoint.setAddress(new Address(serviceURI)); > ^ > org/globus/examples/clients/MathService_instance/Client.java:21: cannot > access org.apache.axis.message.addressing.EndpointReferenceType > file org/apache/axis/message/addressing/EndpointReferenceType.class not > found > MathPortType math = > locator.getMathPortTypePort(endpoint); > ^ > 7 errors > [EMAIL PROTECTED] EXAMPLES_DIR]$ > > I also got errors: > > [EMAIL PROTECTED] EXAMPLES_DIR]$ java -classpath > ./build/stubs/classes/:$CLASSPATH > org.globus.examples.clients.MathService_instance.Client > https://138.250.104.227:8443/wsrf/services/examples/core/first/MathService > Exception in thread "main" java.lang.NoClassDefFoundError: > org/globus/examples/clients/MathService_instance/Client > [EMAIL PROTECTED] EXAMPLES_DIR]$ > > See the container with the MathService on [47]: > > [46]: https://138.250.104.227:8443/wsrf/services/WidgetService > [47]: > https://138.250.104.227:8443/wsrf/services/examples/core/first/MathService > [48]: https://138.250.104.227:8443/wsrf/services/gsi/AuthenticationService > [49]: > https://138.250.104.227:8443/wsrf/services/mds/test/execsource/IndexService > [50]: > https://138.250.104.227:8443/wsrf/services/mds/test/execsource/IndexServiceEntry > [51]: > https://138.250.104.227:8443/wsrf/services/mds/test/subsource/IndexService > [52]: > https://138.250.104.227:8443/wsrf/services/mds/test/subsource/IndexServiceEntry > 2007-10-18 21:45:08,573 INFO impl.DefaultIndexService > [ServiceThread-10,processConfigFile:107] Reading default registration > configuration from file: > /usr/local/globus-4.0.4/etc/globus_wsrf_mds_index/hierarchy.xml > > > Please any suggestions on how to correct the errors is appreciated. > > Regards > Gokop > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS. Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
