0
我試圖成功將sample.war
文件部署到Tomcat 8和文件部署程序。然而,當我嘗試推出http://localhost:8080/sample/它告訴我下面的網頁上的錯誤: Jenkins將war文件部署到Tomcat 8 - 網頁顯示錯誤
部署後之後是成功日誌:
Started by user admin
Building on master in workspace C:\Users\name\.jenkins\workspace\AutomatedDeploymentTest
[AutomatedDeploymentTest] $ cmd /c call C:\Users\name\AppData\Local\Temp\hudson6142418824859478059.bat
C:\Users\name\.jenkins\workspace\AutomatedDeploymentTest>exit 0
[AutomatedDeploymentTest] $ sh -xe C:\Users\name\AppData\Local\Temp\hudson3975448203686724676.sh
+ dir
sample.war
+ date
Tue, Jun 20, 2017 8:45:09 AM
Deploying C:\Users\name\.jenkins\workspace\AutomatedDeploymentTest\sample.war to container Tomcat 7.x Remote
Redeploying [C:\Users\name\.jenkins\workspace\AutomatedDeploymentTest\sample.war]
Undeploying [C:\Users\name\.jenkins\workspace\AutomatedDeploymentTest\sample.war]
Deploying [C:\Users\name\.jenkins\workspace\AutomatedDeploymentTest\sample.war]
Finished: SUCCESS
我不知道爲什麼網頁上不顯示應用起來自戰爭文件部署成功以來運行。