0
我有我目前工作的一個Spring MVC的項目。一切看起來不錯,我不會錯過任何jar文件。在「MVN全新安裝」我得到下面的錯誤。Maven的萬無一失 - 清潔測試失敗安裝
到目前爲止,我已經嘗試了所有其他的建議,我像類似主題的發現:「MVN依賴::樹」這樣我就可以檢查,如果我錯過任何資源庫,但沒有結果。 對於某些人,它看起來像「MVN全新安裝-U」是解決辦法,但不是在我的情況下,得到了同樣的錯誤。
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:17 min
[INFO] Finished at: 2014-12-09T11:46:34+00:00
[INFO] Final Memory: 23M/226M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.
12.4:test (default-test) on project am: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\ADMIN\Documents\Code Base\Removable Disk\am
\target\surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit
ch.
[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 rea
d the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureExc
eption
C:\Users\ADMIN\Documents\Code Base\Removable Disk\am>
我試過了,它會跳過確實的測試部分,但我現在正在接受另一個錯誤。運行(package-frontend-resources)項目am:出現Ant BuildException異常 d:除非= cmdsuccess [錯誤]未能執行目標org.apache.maven.plugins:maven-antrun-plugin:1.7: [在C:\ Users \ ADMIN \ Documents \ Code Base \ Removable Disk \ am \ target \ antrun \ build下建立前端部分... ... @ 14:30 結束resources.xml' –
user2342259
2014-12-09 16:19:34