我尝试使用 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)
我该如何解决?
当我手动部署我的应用程序时,我
- 构建 MavenChat.war
- 重命名为 ROOT.war
- 上传到/home/denis/apache-tomee-webprofile-1.7.1/webapps
IDEA 配置屏幕:
我确定我做错了“暂存”
最佳答案
好的,我无法配置它,但我可以使用 Maven 将我的应用程序部署到我的远程服务器! 我关注了this manual并且有效!
关于java - TomEE Intellij 理念 : Remote deploy,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26842458/