`

An existing resource has been found at location:tomcat

阅读更多
1.修改项目名称方法:首先修改项目中.project文件的name属性
<projectDescription>
<name>echo1</name>
.................
....
然后在项目部署到tomcat中的时候出现以下错误:
An existing resource has been found at location....


2.修改.mymetdata文件中的context-root="/echo"将其中“echo”修改成你修改后的项目名称,最后记得要重起eclipse,重新布署项目就不会出现上面的错误了。
.mymetdata内容如下:
<?xml version="1.0" encoding="UTF-8"?>
<project-module
  type="WEB"
  name="echo"
  id="myeclipse.1217645899031"
  context-root="/echo"
  j2ee-spec="1.4"
  archive="echo.war">
  <attributes>
    <attribute name="webrootdir" value="WebRoot" />
  </attributes>
</project-module>
分享到:
评论

相关推荐

    可在Eclipse中导入和运行的tomcat源代码

    【标题】:“在Eclipse中导入和运行的Tomcat源代码” 【正文】: Tomcat,作为Apache软件基金会的一个开源项目,是Java Servlet和JavaServer Pages(JSP)的最广泛应用服务器之一。它以其轻量级、高效和易用性而广...

    510(k)-for-a-Change-to-an-Existing-Device.pdf

    a Change to an Existing Device Guidance for Industry and Food and Drug Administration Staff Document issued on October 25, 2017. The draft of this document was issued on August 8, 2016. This ...

    Tomcat源码开发环境搭建

    手把手教你搭建Tomcat7源码开发环境,如果有了如下说明还搭建不成功,建议考虑下自己的理解能力,能不能走编码这条路。附近包括Tomcat源码、Tomcat源码开发环境依赖的包、Tomcat的环境编译工具ant 1、建立如下...

    tomcat7.0.42源码,eclipse直接使用

    在Eclipse中,开发者可以通过导入“Existing Projects into Workspace”来加载Tomcat源码。然后,可以利用Eclipse的强大功能,如代码跳转、调试、重构等,方便地探索和理解源码。 在Tomcat7.0.42中,主要包含以下几...

    Deciding-When-to-Submit-a-510(k)-for-a-Software-Change-to-an-Existing-Device.pdf

    510(k) for a Software Change to an Existing Device ______________________________________________________________________________ Guidance for Industry and Food and Drug Administration Staff ...

    refactoring-improving the design of existing code.pdf

    《重构:改善既有代码的设计》是一本专注于软件开发领域的经典著作,由Martin Fowler著述,主要探讨了如何通过重构技术来提升现有代码的设计质量。重构是软件开发过程中的一个重要环节,它并不改变软件的外部行为,...

    tomcat7.070 源码及转成eclipse

    1. **导入源码**:首先,你需要将下载的`apache-tomcat-7.0.70-src-eclipse源码`压缩包解压,然后在Eclipse中选择`File` &gt; `Import` &gt; `Existing Projects into Workspace`,浏览并导入源码目录。 2. **构建路径...

    tomcat-7.0.x:tomcat-7.0.x源码可作为eclipse项目导入

    【标题】"Tomcat-7.0.x:Tomcat-7.0.x源码可作为Eclipse项目导入" 【正文】 Tomcat-7.0.x是Apache Tomcat服务器的一个版本,它是一个开源的、实现了Java Servlet和JavaServer Pages(JSP)规范的应用服务器。这个...

    Refactoring: Improving the Design of Existing Code 第二版

    This eagerly awaited new edition has been fully updated to reflect crucial changes in the programming landscape.Refactoring, Second Edition,features an updated catalog of refactorings and includes ...

    Refactoring Improving the Design of Existing Code.pdf

    ### 重构:改善既有代码的设计 #### 知识点概览 1. **重构的概念与重要性** 2. **重构的技巧与模式** 3. **重构中的单元测试** 4. **重构工具及其应用** 5. **面向对象设计的优化** #### 详细知识点解析 ...

    ORA-65122_ Pluggable database GUID conflicts with the GUID

    ORA-65122_ Pluggable database GUID conflicts with the GUID of an existing_ITPUB博客.mhtml

    python打包exe文件,利用pyinstaller报错 Cannot find existing PyQt5 plugin directories Paths checked: C:/qt64/-附件资源

    python打包exe文件,利用pyinstaller报错 Cannot find existing PyQt5 plugin directories Paths checked: C:/qt64/-附件资源

    使用 Memcached 或 Redis 的分布式锁(互斥锁和信号量).zip

    使用 Memcached 或 Redis 的分布式锁(互斥锁和信号量)索 在 Ruby 中使用 Memcached 或 Redis 实现分布式... connection: {host: "10.0.1.1"})# Pre-existing clientsuo = Suo::Client::Memcached.new("bar_resource",

    曲线拟合工具CurveExpert 1.0

    + File reading system has been revamped. + the color scheme on all windows now conforms strictly to the user defined system colors. + Dialogs were expunged of all Borland controls (except for ...

    Rename an Existing Visual Studio project

    标题提到的"Rename an Existing Visual Studio project"是一个关于如何更改已创建的VS项目名称的主题。这个过程涉及到对项目文件、解决方案文件以及引用等多方面的修改,以确保重命名后的项目能够正常运行。 首先,...

    tomcat-7_API_帮助文档

    been loaded prior to use. Typically, this is done with a call like: static { System.loadLibrary("path-to-library-file"); } in some class. However, the application must also ensure that the ...

    MyEclipse下Tomcat_7.0.78源码,可以直接运行

    这可以通过MyEclipse的“File” -&gt; “Import” -&gt; “Existing Projects into Workspace”完成,然后指定解压后的Tomcat源码目录。在导入过程中,MyEclipse会自动识别出项目结构,并将其设置为Java项目。 导入完成后...

    eclipse添加tomcat.txt

    - 在 `Server location` 区域,选择 `Use an existing server installation`,然后点击 `Browse` 按钮指定已安装的 Tomcat 目录路径。 - 点击 `Finish` 完成配置。 3. **配置 JVM 设置**: - 在 `Servers` 视图...

Global site tag (gtag.js) - Google Analytics