java - TomEE Intellij 理念 : Remote deploy

标签 java tomcat deployment intellij-idea apache-tomee

我尝试使用 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] Artifact MavenChat:war: javax.ejb.EJBException: The bean encountered a non-application exception; nested exception is:

org.apache.openejb.OpenEJBRuntimeException: java.io.FileNotFoundException: /home/denis/apache-tomee-webprofile-1.7.1/bin/C:\Users\Denis\IdeaProjects\MavenChat\target\MavenChat.war (No such file or directory)

我该如何解决?

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

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

IDEA 配置屏幕:

enter image description here

我确定我做错了“暂存”

最佳答案

好的,我无法配置它,但我可以使用 Maven 将我的应用程序部署到我的远程服务器! 我关注了this manual并且有效!

关于java - TomEE Intellij 理念 : Remote deploy,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26842458/

相关文章:

java - 纸牌游戏中的玩家顺序

tomcat - 将 Vaadin/SpringBoot 部署为 WAR

firefox - 无法使用 Firefox 从 Tomcat 注销

spring - Tomcat 热部署到托管多个应用程序的实例

c# - 我可以连接此代码来部署解决方案(在 Sharepoint 2010 中创建用户组)

javascript - 使用 nodemon 部署到 Heroku 的 Node 应用程序随机崩溃

java - 来自内核的 GC 信号而不是固定的 JVM 堆大小

java - 在 Java 中使用特定种子作为随机数生成器

Java - java.net.NoRouteToHostException : No route to host: connect

java.lang.NoSuchFieldError : INSTANCE with Spring Social on Azure 错误