axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Michalski ...@zork.pl>
Subject newbie problems part 2: compiling simple_axis_server
Date Wed, 08 Mar 2006 19:31:04 GMT

I turned off apache module compilation and ran into next problems:

compileSimpleAxisServer:

buildVersionResource:
       [cc] Starting dependency analysis for 2 files.
       [cc] 2 files are up to date.
       [cc] 0 files to be recompiled from dependency analysis.
       [cc] 0 total files to be compiled.
       [cc] Starting link

compileWSDL2Ws:
    [javac] Compiling 84 source files 
to /home/users/zork/java/axis-c-1.6b-Linux-trace-src/obj/classes
    
[javac] /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/wsdl/org/apache/axis/wsdl/symbolTable/CElementDecl.java:33:

cannot find symbol
    [javac] symbol  : class TypeEntry
    [javac] location: class org.apache.axis.wsdl.symbolTable.CElementDecl
    [javac]     private TypeEntry type;
[ and 100 errors more]

I found answer to similar problems in archive:
http://marc.theaimsgroup.com/?l=axis-c-user&m=111958291324713&w=2

As far as I understand javac cannot find $(srcdir)/lib/axis/wsdl2ws.jar where 
those symbols are defined.

I tried to set CLASSPATH to:

[zork@zulu axis-c-1.6b-Linux-trace-src]$ set |grep CLASSPATH
CLASSPATH=/home/users/zork/java/axis-c-1.6b-Linux-trace-src/lib/axis/wsdl2ws.jar

and rerun ant. Still got same errors.

I tried to simply copy $(srcdir)/lib/axis/wsdl2ws.jar to /usr/share/java where 
all other jars reside, but this didn't help too.

I tried to run javac manually passing classpath on command line:

[zork@zulu axis-c-1.6b-Linux-trace-src]$ javac -classpath 
lib/axis/ /home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/wsdl/org/apache/axis/wsdl/symbolTable/CElementDecl.java
/home/users/zork/java/axis-c-1.6b-Linux-trace-src/src/wsdl/org/apache/axis/wsdl/symbolTable/CElementDecl.java:33:

cannot find symbol
symbol  : class TypeEntry
location: class org.apache.axis.wsdl.symbolTable.CElementDecl
    private TypeEntry type;

I am not java expert, can anyone tell me what could be wrong?

Regards,
Ɓukasz


Mime
View raw message