【发布时间】:2015-10-28 20:56:13
【问题描述】:
我正在使用Spring official docs 了解使用 Ant 在 Linux 上设置的 Spring 基本应用程序和环境。
软件和系统配置:
- 操作系统: Linux/Ubuntu
- JRE: 1.8.0_51-b16
- 蚂蚁版本: 1.9.3
- IDE: Luna Service Release 1 (4.4.1)
项目目录结构:
一切都很好,直到 Section 1.3 结束,我可以启动 tomcat 服务器并成功执行 ant,ant deploy,我得到了所需的输出,如下所示:
但是当我尝试执行 ant list 时 - 构建失败。
这是我的build.xml 中的list 目标:
<target name="list" description="List Tomcat applications">
<list url="${tomcat.manager.url}"
username="${tomcat.manager.username}"
password="${tomcat.manager.password}"/>
</target>
我在这里做错了什么?这是我的 entire build.xml 的链接。
【问题讨论】:
标签: linux spring-mvc tomcat ant