【问题标题】:Deploying into remote TC server from STS ( spring tool suite )从 STS 部署到远程 TC 服务器(spring 工具套件)
【发布时间】:2013-04-26 00:49:31
【问题描述】:

我想配置 STS 以将我的应用程序部署到远程运行的 tc 服务器。当我尝试从 STS 添加新服务器并选择 vmware vFabric tc 服务器时。我收到错误消息,说这种类型只支持本地服务器。

有人知道如何在 STS 上设置远程服务器吗?

【问题讨论】:

    标签: spring spring-tool-suite


    【解决方案1】:

    一种选择是使用这个连接到 tomcat 服务器的 maven 插件:

    http://tomcat.apache.org/maven-plugin-2.1/index.html

    这里有更多关于 tomcat 6 的具体说明:

    http://tomcat.apache.org/maven-plugin-2.1/tomcat6-maven-plugin/usage.html

    或者在 tomcat 7 的链接中将 6 替换为 7。

    据我所知,STS (eclipse) 只能直接部署到本地 tomcat 实例,但是一旦配置了该插件,您就可以使用 maven 目标 tomcat6:redeploy 进行运行配置,以便轻松部署到远程服务器。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2014-10-30
      • 2012-12-18
      • 2010-11-01
      • 2012-12-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多