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