如何在/通過命令列部署我的戰爭檔案?以下不起作用:
curl -X PUT --upload-file ROOT.war "http://localhost:8080/manager/text/deploy?path=/" -u 'admin:password'
相反,它被部署在 /ROOT.war。
謝謝!
uj5u.com熱心網友回復:
一切都按預期作業:空背景關系路徑的基本檔案名是ROOT(請參閱命名方案)。因此,根背景關系的 WAR 檔案將上傳到$CATALINA_BASE/webapps/ROOT.war.
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/426562.html
上一篇:嚴重:向類[org.springframework.web.context.ContextLoaderListener]的偵聽器實體發送背景關系初始化事件的例外
下一篇:Tomcat創建的會話
