Thanks for the replies. The whole command line I executed before was:

[EMAIL PROTECTED]:$ export GLOBUS_LOCATION=/usr/local/gt4.0.5
[EMAIL PROTECTED]:$ export JAVA_HOME=/usr/java/j2sdk1.4.2_16 
[EMAIL PROTECTED]:$ export ANT_HOME=/usr/local/apache-tomcat-6.0.14 
[EMAIL PROTECTED]:$ export PATH=$ANT_HOME/bin:$JAVA_HOME/bin:$PATH
[EMAIL PROTECTED]:$ export
CLASSPATH=$JAVA_HOME/lib/:ANT_HOME/lib/:/home/[USER]/globus/exemplo1/org/globus/examples/clients/MathService_instance/Client.java:$GLOBUS_LOCATION/lib/
[EMAIL PROTECTED]:$ $GLOBUS_LOCATION/etc/globus-devel-env.sh
[EMAIL PROTECTED]:$ javac -classpath ./build/stubs/classes/:$CLASSPATH
org/globus/examples/clients/MathService_instance/Client.java 


and the first kind of problem continue.


On Fri, 30 Nov 2007 10:01:50 -0300, Rossini Pena Abrantes wrote
> Hi everyone,
> 
> I'm doing the programmer tutorial, and when I try to compile the Client.java
> of MathService, javac show me two kinds of error:
> 
> 1) Related whit axis.jar:
> 
> 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;
> 
> 2) Related with java version:
> 
> org/globus/examples/clients/MathService_instance/Client.java:6: 
> cannot access org.globus.examples.stubs.MathService_instance.MathPortType
> bad class file:
>
./build/stubs/classes/org/globus/examples/stubs/MathService_instance/MathPortType.class
> class file has wrong version 50.0, should be 48.0
> Please remove or make sure it appears in the correct subdirectory of 
> the classpath. import
org.globus.examples.stubs.MathService_instance.MathPortType;
> 
> obs1.: error 2) didn't appear when I compile the service MathService.
> obs2.: I look in past email's but didn't find anything that help me 
> a lot.
> 
> If anyone could help I'll appreciate. Thnaks.
> 
> --------------------------------
> Rossini Pena Abrantes
> Mestrado - Ciência da Computação - UFV - 2006
> 
> -----------------------------------
> WebMail DPI
> Departamento de Informática
> Universidade Federal de Viçosa
> -----------------------------------


--------------------------------
Rossini Pena Abrantes
Mestrado - Ciência da Computação - 2006

-----------------------------------
WebMail DPI
Departamento de Informática
Universidade Federal de Viçosa
-----------------------------------

Reply via email to