---
title: "myeclipse项目名称重命名"
author: "strutsliu"
date: "2011-06-02T00:31:34Z"
tags: []
categories: ["编程语言"]
slug: "myeclipse"
draft: false
lastmod: "2011-06-02T00:31:34Z"
id: 1067862
url: "https://strutsliu.iteye.com/blog/1067862"
---

今天晚上在做一个jsp唱片显示的实例，myeclipse项目名称原本想写music结果写成了musci。
这就需要项目名称的重命名，单纯的使用 “重构-->重命名” 在你发布项目并启动项目Tomcat后，输入"http://localhost:8080/music/"页面并没有能打开，会出HTTP Status 404！
原因是没有更改Web Context-root 目录的名称 

方法：项目->属性->MyEclipse->Web-Context Root选项->Web Context-root: 改为:/music 

确定并重新发布项目、重启Tomcat就OK了。

转载自http://blog.csdn.net/jaylianyu/archive/2009/03/11/3982297.aspx