【问题标题】:TomEE Intellij Idea: Remote deployTomEE Intellij Idea:远程部署
【发布时间】:2014-11-10 11:11:53
【问题描述】:

我尝试使用 IDEA 在远程服务器 (VPS) 上部署我的 webapp。

我做了以下事情:

export JAVA_OPTS="-Dcom.sun.management.jmxremote=
-Dcom.sun.management.jmxremote.port=1099
-Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false"

现在好了,“连接到服务器”

但后来我遇到了异常:

[2014-11-10 03:00:44,431] 神器 MavenChat:war: javax.ejb.EJBException: bean 遇到非应用程序 例外;嵌套异常是:

org.apache.openejb.OpenEJBRuntimeException: java.io.FileNotFoundException: /home/denis/apache-tomee-webprofile-1.7.1/bin/C:\Users\Denis\IdeaProjects\MavenChat\target\MavenChat.war (没有这样的文件或目录)

我该如何解决?

当我手动部署我的应用程序时,我

  1. 构建 MavenChat.war
  2. 将其重命名为 ROOT.war
  3. 上传到 /home/denis/apache-tomee-webprofile-1.7.1/webapps

IDEA 配置界面:

我确定我做错了“分期”

【问题讨论】:

    标签: java tomcat deployment intellij-idea apache-tomee


    【解决方案1】:

    好的,我无法配置它,但我可以使用 maven 将我的应用程序部署到我的远程服务器! 我关注了this manual,它成功了!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2017-07-12
      • 2016-06-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-05-05
      • 1970-01-01
      相关资源
      最近更新 更多