2011-08-10 12 views
1

Jenkinsによって開始されたジョブでSonarを使用しています。目標を実行できませんでした。org.codehaus.mojo:sonar-maven-plugin:2.0-beta-2:sonar

[ERROR] Failed to execute goal org.codehaus.mojo:sonar-maven-plugin:2.0-beta-2:sonar (default-cli) on project SS_MGWTDMWebUI: Can not execute Sonar: PicoLifecycleException: method 'public void org.sonar.jpa.session.AbstractDatabaseConnector.start()', instance '[email protected], java.lang.RuntimeException: wrapper: Cannot open connection to database: SQL driver not found com.mysql.jdbc.Driver -> [Help 1] 
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. 
[ERROR] Re-run Maven using the -X switch to enable full debug logging. 
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles: 
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException 
+0

あなたは[ジェンキンスソナープラグイン](http://docs.codehaus.org/display/SONAR/Hudson+and+Jenkins+Plugin)を使用しているか、直接ソナーを呼び出している参照してください? 'pom.xml'ファイルや' settings.xml'ファイルに珍しいことがありますか? –

答えて

0

エラーメッセージの状態「SQLドライバが見つからないはcom.mysql.jdbc.Driver」:
は、今、私たちはJekins 試みはソナー-のmaven-プラグインを実行するには、このエラーを取得します。 あなたのインストールが正常であれば、sonar.host.urlが '/'で終わっていないことを確認できますか?

sonar-1685

関連する問題