2011-06-30 19 views
1

少しの調査で、私はこの問題を解決すると主張しているほぼ同じ問題に関するいくつかの情報とともに、Hudsonの問題追跡サイトへのリンクでこのOld Postを見つけました。私が使っているHudson 2.0.1とMaven 2.2.1の現在のバージョンです。Hudson 2.0.1とMaven 2.2.1でシンボルエラーが見つかりません

ハドソンでテストを実行しようとすると「シンボルエラーを見つけることができません」というメッセージが表示されるようですが、それは日食でうまく動作し、ハドソンとメイヴンに関連すると思うかもしれませんが、確かに。

は、ここで私は(以前の記事を読んだ後)信じる部分と私のスタックトレースが関連するか、何とか真剣

[WARNING] 
************ WARNING ************ 

This Maven runtime contains a LifecycleExecutor component with an incomplete configuration. 

LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor 
Missing component requirement: org.apache.maven.project.MavenProjectBuilder 

NOTE: This seems to be a third-party Maven derivative you are using. If so, please 
notify the developers for this derivative project of the problem. The Apache Maven team is not 
responsible for maintaining the integrity of third-party component overrides. 


[WARNING] 
************ WARNING ************ 

This Maven runtime contains a LifecycleExecutor component with an incomplete configuration. 

LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor 
Missing component requirement: org.apache.maven.project.interpolation.ModelInterpolator 

NOTE: This seems to be a third-party Maven derivative you are using. If so, please 
notify the developers for this derivative project of the problem. The Apache Maven team is not 
responsible for maintaining the integrity of third-party component overrides. 


[WARNING] 
************ WARNING ************ 

This Maven runtime contains a LifecycleExecutor component with an incomplete configuration. 

LifecycleExecutor class: org.apache.maven.lifecycle.LifecycleExecutorInterceptor 
Missing component requirement: org.apache.maven.ConfigurationInterpolator 

NOTE: This seems to be a third-party Maven derivative you are using. If so, please 
notify the developers for this derivative project of the problem. The Apache Maven team is not 
responsible for maintaining the integrity of third-party component overrides. 


[INFO] Scanning for projects... 
[INFO] ------------------------------------------------------------------------ 
[INFO] Building Lonely Planet Code Test 
[INFO] task-segment: [clean, install] 
[INFO] ------------------------------------------------------------------------ 
[INFO] [clean:clean {execution: default-clean}] 
[INFO] Deleting file set: /var/lib/hudson/jobs/Lonely Planet Coding Tests/workspace/trunk/com.lonelyplanet.codetest.wkallan/target (included: [**], excluded: []) 
[INFO] [resources:resources {execution: default-resources}] 
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! 
[INFO] Copying 3 resources 
[INFO] [compiler:compile {execution: default-compile}] 
[INFO] Compiling 1 source file to /var/lib/hudson/jobs/Lonely Planet Coding Tests/workspace/trunk/com.lonelyplanet.codetest.wkallan/target/classes 
[HUDSON] Archiving /var/lib/hudson/jobs/Lonely Planet Coding Tests/workspace/trunk/com.lonelyplanet.codetest.wkallan/pom.xml to /var/lib/hudson/jobs/Lonely Planet Coding Tests/modules/com.lonelyplanet.codetest.wkallan$com.lonelyplanet.codetest.wkallan/builds/2011-06-30_13-40-15/archive/com.lonelyplanet.codetest.wkallan/com.lonelyplanet.codetest.wkallan/0.0.1-SNAPSHOT/pom.xml 
[INFO] ------------------------------------------------------------------------ 
[ERROR] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Compilation failure 
/var/lib/hudson/jobs/Lonely Planet Coding Tests/workspace/trunk/com.lonelyplanet.codetest.wkallan/src/main/java/com/lonelyplanet/codetest/wkallan/ContentGenerator.java:[30,15] cannot find symbol 
symbol : method format(java.lang.String,java.lang.String,java.lang.String,java.lang.String,java.lang.String) 
location: class java.lang.String 
+0

ハドソンの問題を解決するためのいくつかの優れたソフトウェアがここにあります:http://jenkins-ci.org/ – Daniel

答えて

3

に関連しているが、私はダニエルの提案をサポートしています。ジェンキンスに移動してください。ハドソンの開発者のほとんどはジェンキンスに引っ越してきており、オラクルとの分裂から古い名前でハドソンをサポートしたり開発したりしていません。 私はHudsonをJenkinsに移行しました。移行は通常シームレスです。 Jenkinsを使用することのメリットは、毎週(反復ベースの)リリースを作成し、を多く修正する傾向があることです。 Oracleよりも多くのことが修正されます。

ここで炎戦を始めようとはしていません。これは私の個人的な意見です。ただ提案する。 :-)

+0

DanielとCarlspringに感謝します。私はそれを試してみると思います。考えていても...うまくいけば私の問題は解決します。 – ImaginateWayne

0

あなたのハドソンサーバーは古代のjdk 1.4で動作していますか? java.lang.StringformatメソッドがJava 5で追加されました。また、mavenコンパイラプラグインがpomのソース1.5用に設定されているかどうかを確認する必要があります。 Maven 2のデフォルトは1.4または1.3でした。

+0

問題があるかどうかを確認するためにこれをすばやく実行します。それ以外の場合は上記の提案を取ります。再度、感謝します – ImaginateWayne

関連する問題