eclipse启动debug的模式?
孙博雅 2008-07-03 11:15:52 开发环境: jdk1.4 eclipse3.2 jboss 4.0
jboss的端口号和eclipse监听号是一致的。
jboss也改成了debug模式,
1、修改jboss/bin/run.bat 文件
将set JAVA_OPTS=-classic -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=8787,server=y,suspend=n %JAVA_OPTS%
前的 rem 去掉,
把suspend改为n,address改为8787
可是进行eclipse->run->debug时就报错了
错误:The archive: /pubadmin/WEB-INF/lib/classes12.jar which is referenced by the classpath, does not exist.
进行eclipse->open debug dialoge->Remote java Application->debug时就报如下错误:
Failed to connect to remote VM. Connection refused.
Connection refused: connect
在坐的各位帮忙看看啦,多谢了!!