zoukankan      html  css  js  c++  java
  • The Myeclipse copy a project and deployment issues

    The Myeclipse8 copy a project and deployed, there will be 

    An existing resource has been found at location D: apache-tomcat-6.0.24 webapps project-old. 
    Deployment of project project-new will replace this resource. Please specify the action you wish to take during deployment 

    Solution: 
    Project Right Properties-> Myeclipse-> Web-> Web Context-root into the deployment of a new project name on the list. 
    Effect is equivalent to under the item. Mymetadata in the context-root = "/ xxxx" the value of new projects into the deployment of the name, but I really try to directly modify it not work here.

    1.An existing resource has been found at location
          这应该是你想部署的项目到了tomcat_home/webapp下面引发冲突而造成,仔细看哪个对话框中的部署路径,你可能会发现问题,这时你要修改.mymetadata的配置信息,把当中的context-root="/老项目名"改成context-root="/新项目名",就ok了。


    2.Deployment failure on Tomcat 5.x. Could not copy all resources to
          原因是你.CLASSPATH中的配置信息和你web-inf/lib下的jar包不能对应造成,按照你web-inf/lib下的jar包名,然后再对.CLASSPATH中的信息进行增添或删除,就ok了。

    所以如果以后在部署的时候发现了问题,不妨从.CLASSPATH和.mymetadata这两个配置文件下手,可能会帮你解决一些问题。


    3.Deployment is out of date due to changes in the underlying project contents.
          我不太清楚这个具体的错误原因,只不过我解决了它。之前WEB-INF/lib下没有jar文件就部署,所以出现了这个问题,把所有的jar文件放入WEB-INF/lib下后,就ok了。

  • 相关阅读:
    LinqPad 1.31 提供下载
    LINQ to SQL更新数据库操作
    电脑开机进入桌面很慢的解决办法
    VS2008的Linq更新数据就那么费劲
    将图片进行base64编码,并将接受编码后的图片转换为实际图片
    C# 2.0 之 static class
    测试杀毒软件的性能代码
    VS2008 Ajax Toolkit 控件(修正后转载)
    C#发送邮件程序 及测试邮件服务器
    asp.net中的<%%>形式的详细用法实例讲解
  • 原文地址:https://www.cnblogs.com/humanchan/p/3491847.html
Copyright © 2011-2022 走看看