Bonjour à tous

Je suis en train de monter une plateforme d'intégration continue avec Hudson et Sonar et je rencontre des difficultés dans l'utilisation de Sonar.

En fait quand je lance la commande mvn sonar:sonar comme précisé dans différents tuto, j'obtiens une NoClassDefFoundError sur la classe StrLookUp. Quelqu'un pourrait me donner une piste ?

J'ai essayé pas mal de truc trouvé sur les forums ou mailing list mais rien n'y a fait et je tourne en rond avec notre ami google

Voici la stacktrace :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[INFO] Trace
java.lang.NoClassDefFoundError: org/apache/commons/lang/text/StrLookup
	at org.sonar.maven.SonarMojo.getInitialConfiguration(SonarMojo.java:165)
	at org.sonar.maven.SonarMojo.executeBatch(SonarMojo.java:138)
	at org.sonar.maven.SonarMojo.execute(SonarMojo.java:133)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:98)
	at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:79)
	at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:88)
	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:569)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:539)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:284)
	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
	at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Et l'erreur Maven :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
[INFO] [sonar:sonar {execution: default-sonar}]
[FATAL ERROR] org.sonar.maven.SonarMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.sonar:sonar-maven-plugin:2.5]
urls[0] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-maven-plugin/2.5/sonar-maven-plugin-2.5.jar
urls[1] = file:/D:/Donnees/Maven/repository/org/apache/maven/shared/maven-dependency-tree/1.2/maven-dependency-tree-1.2.jar
urls[2] = file:/D:/Donnees/Maven/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
urls[3] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-batch/2.5/sonar-batch-2.5.jar
urls[4] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-core/2.5/sonar-core-2.5.jar
urls[5] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-plugin-api/2.5/sonar-plugin-api-2.5.jar
urls[6] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-check-api/2.5/sonar-check-api-2.5.jar
urls[7] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-colorizer/2.5/sonar-colorizer-2.5.jar
urls[8] = file:/D:/Donnees/Maven/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
urls[9] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-channel/2.5/sonar-channel-2.5.jar
urls[10] = file:/D:/Donnees/Maven/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
urls[11] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-duplications/2.5/sonar-duplications-2.5.jar
urls[12] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-graph/2.5/sonar-graph-2.5.jar
urls[13] = file:/D:/Donnees/Maven/repository/commons-lang/commons-lang/2.5/commons-lang-2.5.jar
urls[14] = file:/D:/Donnees/Maven/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar
urls[15] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-squid/2.5/sonar-squid-2.5.jar
urls[16] = file:/D:/Donnees/Maven/repository/org/picocontainer/picocontainer/2.10.2/picocontainer-2.10.2.jar
urls[17] = file:/D:/Donnees/Maven/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
urls[18] = file:/D:/Donnees/Maven/repository/javax/inject/javax.inject/1/javax.inject-1.jar
urls[19] = file:/D:/Donnees/Maven/repository/org/hibernate/hibernate-core/3.3.2.GA/hibernate-core-3.3.2.GA.jar
urls[20] = file:/D:/Donnees/Maven/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar
urls[21] = file:/D:/Donnees/Maven/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
urls[22] = file:/D:/Donnees/Maven/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
urls[23] = file:/D:/Donnees/Maven/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
urls[24] = file:/D:/Donnees/Maven/repository/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar
urls[25] = file:/D:/Donnees/Maven/repository/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar
urls[26] = file:/D:/Donnees/Maven/repository/org/hibernate/hibernate-commons-annotations/3.1.0.GA/hibernate-commons-annotations-3.1.0.GA.jar
urls[27] = file:/D:/Donnees/Maven/repository/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar
urls[28] = file:/D:/Donnees/Maven/repository/javassist/javassist/3.4.GA/javassist-3.4.GA.jar
urls[29] = file:/D:/Donnees/Maven/repository/org/hibernate/hibernate-ehcache/3.3.2.GA/hibernate-ehcache-3.3.2.GA.jar
urls[30] = file:/D:/Donnees/Maven/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar
urls[31] = file:/D:/Donnees/Maven/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar
urls[32] = file:/D:/Donnees/Maven/repository/commons-dbcp/commons-dbcp/1.3/commons-dbcp-1.3.jar
urls[33] = file:/D:/Donnees/Maven/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar
urls[34] = file:/D:/Donnees/Maven/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar
urls[35] = file:/D:/Donnees/Maven/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
urls[36] = file:/D:/Donnees/Maven/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
urls[37] = file:/D:/Donnees/Maven/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar
urls[38] = file:/D:/Donnees/Maven/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar
urls[39] = file:/D:/Donnees/Maven/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar
urls[40] = file:/D:/Donnees/Maven/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
urls[41] = file:/D:/Donnees/Maven/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
urls[42] = file:/D:/Donnees/Maven/repository/org/slf4j/log4j-over-slf4j/1.5.6/log4j-over-slf4j-1.5.6.jar
urls[43] = file:/D:/Donnees/Maven/repository/com/thoughtworks/xstream/xstream/1.3.1/xstream-1.3.1.jar
urls[44] = file:/D:/Donnees/Maven/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar
urls[45] = file:/D:/Donnees/Maven/repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar
urls[46] = file:/D:/Donnees/Maven/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
urls[47] = file:/D:/Donnees/Maven/repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar
urls[48] = file:/D:/Donnees/Maven/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar
urls[49] = file:/D:/Donnees/Maven/repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar
urls[50] = file:/D:/Donnees/Maven/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
urls[51] = file:/D:/Donnees/Maven/repository/xalan/xalan/2.7.1/xalan-2.7.1.jar
urls[52] = file:/D:/Donnees/Maven/repository/xalan/serializer/2.7.1/serializer-2.7.1.jar
urls[53] = file:/D:/Donnees/Maven/repository/org/codehaus/plexus/plexus-classworlds/2.2.3/plexus-classworlds-2.2.3.jar
urls[54] = file:/D:/Donnees/Maven/repository/org/codehaus/sonar/sonar-deprecated/2.5/sonar-deprecated-2.5.jar
urls[55] = file:/D:/Donnees/Maven/repository/ch/qos/logback/logback-classic/0.9.15/logback-classic-0.9.15.jar
urls[56] = file:/D:/Donnees/Maven/repository/ch/qos/logback/logback-core/0.9.15/logback-core-0.9.15.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/C:/Program Files/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[FATAL ERROR] org.codehaus.mojo.sonar.SonarMojo#execute() caused a linkage error (java.lang.NoClassDefFoundError) and may be out-of-date. Check the realms:
[FATAL ERROR] Plugin realm = app0.child-container[org.codehaus.mojo:sonar-maven-plugin:1.0-beta-2]
urls[0] = file:/D:/Donnees/Maven/repository/org/codehaus/mojo/sonar-maven-plugin/1.0-beta-2/sonar-maven-plugin-1.0-beta-2.jar
urls[1] = file:/D:/Donnees/Maven/repository/commons-io/commons-io/1.3/commons-io-1.3.jar
urls[2] = file:/D:/Donnees/Maven/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
urls[3] = file:/D:/Donnees/Maven/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
[FATAL ERROR] Container realm = plexus.core
urls[0] = file:/C:/Program Files/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] org/apache/commons/lang/text/StrLookup
Merci d'avance pour votre aide
wilouze