Looks like you forgot to add GT jars to your classpath. Try what's described in the tutorial:
"We are now going to compile the client. Before running the compiler, make sure you run the following: source $GLOBUS_LOCATION/etc/globus-devel-env.sh The globus-devel-env.sh script takes care of putting all the Globus libraries into your CLASSPATH. When compiling the service, Ant took care of this but, since we're not using Ant to compile the client, we need to run the script." Here's an explanation what the classpath is http://en.wikipedia.org/wiki/Classpath_(Java) Martin > Dear All, > > Plesae I am running the MathService tutorial on GT4 and I got this this > error: > > [EMAIL PROTECTED] EXAMPLES_DIR]$ javac -classpath > ./build/stubs/classes/:$CLASSPATH > org/globus/examples/clients/MathService_instance/Client.java ---------- > 1. ERROR in org/globus/examples/clients/MathService_instance/Client.java > !! no source information available !! > This compilation unit indirectly references the missing type > org.apache.axis.message.addressing.EndpointReferenceType (typically some > required class file is referencing a type outside the classpath) > ---------- > 2. ERROR in org/globus/examples/clients/MathService_instance/Client.java > (at line 3) > import org.apache.axis.message.addressing.Address; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > The import org.apache cannot be resolved > ---------- > 3. ERROR in org/globus/examples/clients/MathService_instance/Client.java > (at line 4) > import org.apache.axis.message.addressing.EndpointReferenceType; > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > The import org.apache cannot be resolved > ---------- > 4. ERROR in org/globus/examples/clients/MathService_instance/Client.java > (at line 19) > EndpointReferenceType endpoint = new EndpointReferenceType(); > ^^^^^^^^^^^^^^^^^^^^^ > EndpointReferenceType cannot be resolved or is not a type > ---------- > 5. ERROR in org/globus/examples/clients/MathService_instance/Client.java > (at line 19) > EndpointReferenceType endpoint = new EndpointReferenceType(); > ^^^^^^^^^^^^^^^^^^^^^ > EndpointReferenceType cannot be resolved or is not a type > ---------- > 6. ERROR in org/globus/examples/clients/MathService_instance/Client.java > (at line 20) > endpoint.setAddress(new Address(serviceURI)); > ^^^^^^^ > Address cannot be resolved or is not a type > ---------- > 6 problems (6 errors) > > Please can anyone explain to me what $CLASSPATH stands for? Am I supposed > to set CLASSPATH as an environment variable? If yes, what should be the > complete path to set CLASSPATH to? > > Kind regards > Gokop > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com
