Undefined exploded archive location Tomcat之项目不能发布
来源:互联网 发布:淘宝二手钢琴被坑了 编辑:程序博客网 时间:2024/06/06 14:27
http://www.javaeye.com/topic/423128
昨天,从服务器上download代码下来,把自己负责的业务编写完毕之后,本想着把项目发布,在自己电脑的环境下先测试一下整个流程,不过麻烦也随之而来了;发布的时候发生了异常了,具体表现在 ,点击了项目名字,选择了应用服务器(这里为tomcat6)之后,出新了Undefined exploded archive location 提示;费了好长时间,琢磨了好久,试过了好多方法,终于找到问题的解决方法:
原因:
在工程转移过程中,导致工程的配置文件出错;
解决方法:
1.在工程目录下的.mymetadata文件中可能webrootdir被改无效了(把下面内容拷到你的.mymetadate文件中的相应位置上);或者有可能少了这context-root这个属性;添加上这个属性即可,内容如下:
context-root="/上面的name属性值"
2.关掉Eclipse,再启动Eclipse,接着发布工程,发布成功!
以下是一个一个.mymetadata文件的一个实例
- <?xml version="1.0" encoding="UTF-8"?>
- <project-module
- type="WEB"
- name="newspweb"
- id="myeclipse.1202968712015"
- context-root="/newspweb" j2ee-spec="1.4"
- archive="newspweb.war">
- <attributes>
- <attribute name="webrootdir" value="WebContent" />
- </attributes>
- </project-module>
- Undefined exploded archive location Tomcat之项目不能发布
- Undefined exploded archive location Tomcat之项目不能发布
- Undefined exploded archive location Tomcat之项目不能发布
- Undefined exploded archive location Tomcat之项目不能发布
- Undefined exploded archive location Tomcat之项目不能发布
- Tomcat Undefined exploded archive location 项目不能部署
- Tomcat Undefined exploded archive location 项目不能部署
- Undefined exploded archive location 项目不能部署
- Undefined exploded archive location 项目不能部署
- MyEclipse发布项目报错Undefined exploded archive location
- myeclipse不能部署项目Undefined exploded archive location
- MyEclipse 中Tomcat部署项目:Undefined exploded archive location
- Undefined exploded archive location tomcat 部署项目不成功
- MyEclipse 中Tomcat部署项目:Undefined exploded archive location
- myeclipse之不能部署问题(Undefined exploded archive location)
- Undefined exploded archive location
- Undefined exploded archive location
- Undefined exploded archive location
- 软件测试
- 金山软件笔试题
- 软件测试过程管理实践
- PHP exit函数介绍
- 深入浅出Node.js(四):Node.js的事件机制
- Undefined exploded archive location Tomcat之项目不能发布
- Qt数据库操作
- android 源码下载 4.0.3-r1
- linux 文件系统的介绍
- 编写软件测试计划需要考虑的几个问题
- linux提升CPU性能和效率-处理器的亲和性
- spring 实现AOP所需的三个jar包
- android 删除开机动画
- SOAP Web Services 01 - Introduction To Web Services