You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by Jesus De Oliveira <je...@bsc.co.ve> on 2005/02/15 20:06:55 UTC

Error compiling WSS4J from sources

Hello,

I'm not sure if I should send this message to this list, but here it is
anyway.

I just checkout the WSS4J sources, and when I try to compile it with ant,
I get the following:

compile.library:
    [javac] Compiling 150 source files to
/home/jdeoliveira/work/ws-fx/wss4j/build/classes
    [javac]
/home/jdeoliveira/work/ws-fx/wss4j/src/org/apache/ws/axis/security/WSDoAllReceiver.java:45:
cannot access org.w3c.dom.Document
    [javac] bad class file:
/usr/local/jdk1.5.0/jre/lib/rt.jar(org/w3c/dom/Document.class)
    [javac] class file has wrong version 49.0, should be 48.0
    [javac] Please remove or make sure it appears in the correct
subdirectory of the classpath.
    [javac] import org.w3c.dom.Document;
    [javac]                    ^
    [javac] 1 error

I'm using JDK 1.5.0, mayby this is the problem? Anyone knows how to fix it?

Thanks,

-- 
Jesus De Oliveira
Consultor IT
Baysystem Consultores C.A.
Caracas-Venezuela
Tlf: (0212) 339.06.96
     (0414) 300.06.46



Re: Error compiling WSS4J from sources

Posted by Jesus De Oliveira <je...@bsc.co.ve>.
Hi again,

I just figured out that WSS4J doesn't compile with JDK 1.5.0, I just
changed to j2sdk1.4.2_02 and it works.


> Hello,
>
> I'm not sure if I should send this message to this list, but here it is
> anyway.
>
> I just checkout the WSS4J sources, and when I try to compile it with
> ant, I get the following:
>
> compile.library:
>     [javac] Compiling 150 source files to
> /home/jdeoliveira/work/ws-fx/wss4j/build/classes
>     [javac]
> /home/jdeoliveira/work/ws-fx/wss4j/src/org/apache/ws/axis/security/WSDoAllReceiver.java:45:
> cannot access org.w3c.dom.Document
>     [javac] bad class file:
> /usr/local/jdk1.5.0/jre/lib/rt.jar(org/w3c/dom/Document.class)
>     [javac] class file has wrong version 49.0, should be 48.0
>     [javac] Please remove or make sure it appears in the correct
> subdirectory of the classpath.
>     [javac] import org.w3c.dom.Document;
>     [javac]                    ^
>     [javac] 1 error
>
> I'm using JDK 1.5.0, mayby this is the problem? Anyone knows how to fix
> it?
>
> Thanks,
>
> --
> Jesus De Oliveira
> Consultor IT
> Baysystem Consultores C.A.
> Caracas-Venezuela
> Tlf: (0212) 339.06.96
>      (0414) 300.06.46


-- 
Jesus De Oliveira
Consultor IT
Baysystem Consultores C.A.
Tlf: (0212) 339.06.96
     (0414) 300.06.46