【发布时间】: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 (没有这样的文件或目录)
我该如何解决?
当我手动部署我的应用程序时,我
- 构建 MavenChat.war
- 将其重命名为 ROOT.war
- 上传到 /home/denis/apache-tomee-webprofile-1.7.1/webapps
IDEA 配置界面:
我确定我做错了“分期”
【问题讨论】:
标签: java tomcat deployment intellij-idea apache-tomee