本文介绍了glassfish 4在IDEA 12.1中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
D:\\我试图在IntelliJ IDEA12.1中调试glassfish 4应用程序。 \\工具\glassfish4\glassfish\bin\asadmin.bat启动域名--debug domain1
[2013-06-28 03:58:34,480]工件交换-web:war:服务器未连接。部署不可用。
检测到的服务器管理端口:4848
检测到的服务器http端口:8080
尝试启动domain1 ....请查看服务器日志以了解更多详细信息.....
但是没有开始。
那我应该怎么做才能解决这个问题?
在升级到GF 4.1后也遇到了麻烦。问题是,IntelliJ本身运行在1.6 VM以下。 GF 4.1带有1.7编译类。将IntelliJ JDK切换到1.7解决了部署问题。
I'm trying to debug glassfish 4 application in IntelliJ IDEA12.1 and am getting the following:
D:\tools\glassfish4\glassfish\bin\asadmin.bat start-domain --debug domain1
[2013-06-28 03:58:34,480] Artifact exchange-web:war: Server is not connected. Deploy is not available.
Detected server admin port: 4848
Detected server http port: 8080
Attempting to start domain1.... Please look at the server log for more details.....
But nothing started. And there is no error in log.
So what should I do to resolve this?
解决方案
Had also trouble with that after upgrading to GF 4.1. Problem was, that IntelliJ itself was running under 1.6 VM. GF 4.1 comes with 1.7 compiled classes. Switching IntelliJ JDK to 1.7 solved that deployment trouble.
这篇关于glassfish 4在IDEA 12.1中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!