Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我继承了一个由 3 个不同的不同项目组成的 Spring 项目。有一系列 ANT 文件用于构建项目并将其部署到 Tomcat。有一个名为“build”的 ANT 目标可以执行此操作。
问题是当tomcat服务器运行时,我无法部署——相反,我必须停止服务器,部署然后重新启动服务器。
我注意到当我通过 STS 中的 MVC 模板创建 spring 项目时,“VMware vFabric”服务器似乎支持我想要的。
有谁知道我如何为使用 ANT 构建的现有 Spring MVC 项目实现这一目标?
你得到什么错误?
您的 ANT 脚本也像 Tomcat 文档所建议的那样吗?这对我有用,没有任何问题。
http://wiki.apache.org/tomcat/AntDeploy