1 |
Bonjour |
2 |
J'ai des problemes de version java 1.4 / 1.5 : J'ai des paquets compilés |
3 |
avec l'un et des paquets compilés avec l'autre :/ |
4 |
J'essai donc de résoudre les problemes en recompilant tous les paquets |
5 |
qui me cause des erreurs avec java 1.4 (blackdown) (l'ideal serait de |
6 |
pouvoir recompiler utilisant java d'un coup, mais je ne sais pas trop |
7 |
comment faire). Donc, en bref, j'arrive pas a compiler log4j. |
8 |
Voici les erreurs : |
9 |
|
10 |
>>> Source unpacked. |
11 |
Buildfile: build.xml |
12 |
|
13 |
init: |
14 |
|
15 |
build.core: |
16 |
[mkdir] Created dir: |
17 |
/var/tmp/portage/log4j-1.2.9/work/logging-log4j-1.2.9/dist/classes |
18 |
[javac] Compiling 158 source files to |
19 |
/var/tmp/portage/log4j-1.2.9/work/logging-log4j-1.2.9/dist/classes |
20 |
[javac] |
21 |
/var/tmp/portage/log4j-1.2.9/work/logging-log4j-1.2.9/src/java/org/apache/log4j/net/SimpleSocketServer.java:16: |
22 |
cannot access org.apache.log4j.xml.DOMConfigurator |
23 |
[javac] bad class file: |
24 |
/usr/share/log4j/lib/log4j.jar(org/apache/log4j/xml/DOMConfigurator.class) |
25 |
[javac] class file has wrong version 49.0, should be 48.0 |
26 |
[javac] Please remove or make sure it appears in the correct |
27 |
subdirectory of the classpath. |
28 |
[javac] import org.apache.log4j.xml.DOMConfigurator; |
29 |
[javac] ^ |
30 |
[javac] 1 error |
31 |
|
32 |
BUILD FAILED |
33 |
/var/tmp/portage/log4j-1.2.9/work/logging-log4j-1.2.9/build.xml:190: |
34 |
Compile failed; see the compiler error output for details. |
35 |
|
36 |
Total time: 6 seconds |
37 |
|
38 |
!!! ERROR: dev-java/log4j-1.2.9 failed. |
39 |
!!! Function src_compile, Line 44, Exitcode 1 |
40 |
!!! compilation error |
41 |
!!! If you need support, post the topmost build error, NOT this status |
42 |
message. |
43 |
|
44 |
Voila, si vous avez des idées :) |
45 |
Merci, |
46 |
Fifre. |
47 |
-- |
48 |
gentoo-user-fr@g.o mailing list |