Tomcat Undefined exploded archive location 项目不能部署
2009-12-16 09:17
465 查看
出处:http://queue19.javaeye.com/blog/346850
原因:
在工程转移过程中,导致工程的配置文件出错
;
解决方法:
1.在工程目录下的.mymetadata
文件中可能webrootdir
被改无效了(把下面内容拷到你的.mymetadate文件中的相应位置上);或者有可能少了这context-root
这个属性;添加上这个属性即可,内容如下:
context-root="/上面的name属性值"
2.关掉Eclipse,再启动Eclipse,接着发布工程,发布成功!
例如:
Xml代码
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
<
project-module
type
=
"WEB"
name
=
"program_name"
id
=
"myeclipse.1235376033685"
context-root
=
"/program_name"
j2ee-spec
=
"1.4"
archive
=
"program_name.war"
>
<
attributes
>
<
attribute
name
=
"webrootdir"
value
=
"WebRoot"
/>
</
attributes
>
</
project-module
>
原因:
在工程转移过程中,导致工程的配置文件出错
;
解决方法:
1.在工程目录下的.mymetadata
文件中可能webrootdir
被改无效了(把下面内容拷到你的.mymetadate文件中的相应位置上);或者有可能少了这context-root
这个属性;添加上这个属性即可,内容如下:
context-root="/上面的name属性值"
2.关掉Eclipse,再启动Eclipse,接着发布工程,发布成功!
例如:
Xml代码
<?
xml
version
=
"1.0"
encoding
=
"UTF-8"
?>
<
project-module
type
=
"WEB"
name
=
"program_name"
id
=
"myeclipse.1235376033685"
context-root
=
"/program_name"
j2ee-spec
=
"1.4"
archive
=
"program_name.war"
>
<
attributes
>
<
attribute
name
=
"webrootdir"
value
=
"WebRoot"
/>
</
attributes
>
</
project-module
>
相关文章推荐
- Tomcat Undefined exploded archive location 项目不能部署
- Undefined exploded archive location Tomcat之项目不能发布
- Undefined exploded archive location Tomcat之项目不能发布
- Undefined exploded archive location Tomcat之项目不能发布
- myeclipse 8.5 部署项目到tomcat中报错“ Undefined exploded archive location”
- Undefined exploded archive location Tomcat之项目不能发布
- MyEclipse 中Tomcat部署项目:Undefined exploded archive location
- Undefined exploded archive location 项目不能部署
- MyEclipse在Tomcat中部署项目时出现错误:Undefined exploded archive location
- Undefined exploded archive location 项目不能部署
- Undefined exploded archive location 项目不能部署
- Undefined exploded archive location 项目不能部署
- MyEclipse 中Tomcat部署项目:Undefined exploded archive location
- Undefined exploded archive location Tomcat之项目不能发布
- myeclipse不能部署项目Undefined exploded archive location
- Undefined exploded archive location Tomcat之项目不能发布
- Undefined exploded archive location Tomcat之项目不能发布
- Myeclipse项目无法部署,提示错误:Undefined exploded archive location
- myeclipse之不能部署问题(Undefined exploded archive location)
- Undefined exploded archive location(在myeclipse中TOMCAT不能发布程序。)