---
# System prepended metadata

title: REST Web Service Rename 流程
tags: [Eclipse, Java]

---

# REST Web Service Rename 流程
1. Rename 
2. Move
3. 修改 Tomcat - server.xml

#### Move Project Folder
![](https://i.imgur.com/2hWKcFc.png)

#### 錯誤訊息
> Could not publish server configuration for Tomcat v9.0 Server at localhost.
> Multiple Contexts have a path of "/MyRESTService".


#### 解決方法
* 打開eclipse左側選單
* Servers下的Tomcat v9.0 Server at localhost-config
* 打開server.xml 找尋 <Context> 標籤
    * 修改或是刪除重複的內容
    ![](https://i.imgur.com/A1rUock.png)

###### tags: `Eclipse` `Java`