今天在myEclipse下发布项目,发现在Deploy Location下不显示发布路径。

 

百度了一下说可能的原因是没有在mymatadata中添加context-root="/",另外webrootdir属性也要设置正确。

一个常见的配置如下:

<?xml version="1.0" encoding="UTF-8"?>
<project-module
  type="WEB"
  name="premier"
  />
  </attributes>
</project-module>

 

mymetadata的context-root内容设置位置:

项目右键——>Properties——>MyEclipse——>Web——>Context Root

如果发布不正常,该位置会出现错误提示。

相关文章:

  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-29
猜你喜欢
  • 2022-02-13
  • 2021-07-28
  • 2022-12-23
  • 2021-11-21
相关资源
相似解决方案