【发布时间】:2012-02-02 20:12:42
【问题描述】:
我有一个带有 maven-jetty 插件的 maven gwt 应用程序,我尝试使用 'mvn jetty:run-war' 和 'mvn gwt:debug' 调试代码,它以 gwt 开发模式启动应用程序,所以我可以调试客户端代码而不是服务器端,我如何调试客户端和服务器端代码?我试过'mvnDebug jetty:run-exploded',它说:
Preparing to Execute Maven in Debug Mode
Listening for transport dt_socket at address: 8000
然后我打开一个浏览器指向 localhost:8000,没有加载任何内容,在终端中它吐出消息:
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - excepted >JDWP-Handshake<
Debugger failed to attach: handshake failed - received >GET / HTTP/1.1< - excepted >JDWP-Handshake<
Debugger failed to attach: timeout during handshake
我不知道这是什么意思?谁能帮帮我?
【问题讨论】: