Tuesday, March 20, 2018

Tomcat: Multiple Contexts have a path of "/xxx"

在Eclipse 中Run as server時, 出現錯誤信息︰Could not publish server configuration for Tomcat v7.0 Server at localhost. Multiple Contexts have a path of "/xxx".

原來在Eclipse複製目錄時,Tomcat 的server.xml中的Context出現了重覆路徑,只需要修改目錄位置就可以了。
參考︰tomcat启动是报Multiple Contexts have a path of "/XXX"

No comments: