1
我試圖使用gwt-maven-plugin設置一個GWT項目,但努力實現這一目標。 已經解決了m2eclispe和生命週期的問題,但由於Maven報告任務失敗狀態1,所以在構建過程中出現錯誤。任何建議,將不勝感激。Maven GWT插件「失敗,狀態1」錯誤
Command [[
/bin/sh -c /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java
-Xmx512m
-classpath
/Users/jdoe/Documents/gwt-nesstarvester/src/main/java
:/Users/jdoe/Documents/gwt-nesstarvester/target/generated-sources/gwt
:/Users/jdoe/Documents/gwt-nesstarvester/src/main/resources
:/Users/jdoe/Documents/gwt-nesstarvester/target/gwt-nesstarvester-1.0-SNAPSHOT/WEB-INF/classes
:/Users/jdoe/.m2/repository/com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar
:/Users/jdoe/.m2/repository/com/google/gwt/gwt-user/2.4.0/gwt-user-2.4.0.jar
:/Users/jdoe/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar
:/Users/jdoe/.m2/repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar
:/Users/jdoe/.m2/repository/com/google/gwt/gwt-dev/2.4.0/gwt-dev-2.4.0.jar com.google.gwt.dev.Compiler
-gen /Users/jdoe/Documents/gwt-nesstarvester/target/.generated
-logLevel INFO
-style OBF
-war /Users/jdoe/Documents/gwt-nesstarvester/target/gwt-nesstarvester-1.0-SNAPSHOT
-localWorkers 8
org.openmetadata.gwt.nesstarvester.nesstarvester
]]
failed with status 1 (org.codehaus.mojo:gwt-maven-plugin:2.4.0:compile:default:prepare-package)
該命令是實際的gwt編譯,從maven開始。您只發布了足夠的內容以顯示開始的內容,而不是發生了什麼事情 - 您是否可以發佈更多日誌,或許還有nestarvester.gwt.xml文件? – 2012-02-20 16:31:01
我遇到同樣的問題。 @ColinAlworth,我在哪裏可以找到可能顯示更多細節的日誌? – 2012-05-09 13:08:08
@AndyD嘗試從命令行運行maven命令,並使用該命令的輸出。如果沒有足夠的話,標誌'-e'和'-X'將會提供更多的細節,儘管它可能沒有多大用處。 – 2012-05-09 14:16:59