相关疑难解决方法(0)

握手失败 - 在Intellij中调试Solr时出现连接prematurally关闭错误

所以我打算在Intellij Community Edition上调试我的Solr过滤器插件.在我使用此命令从命令提示符运行程序后

java -jar start.jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8983
Run Code Online (Sandbox Code Playgroud)

我用这个配置启动了我的Intellij调试器:

Transport : socket
Debugger mode : attach
Host : localhost
Port : 8983
Run Code Online (Sandbox Code Playgroud)

但是当我运行调试器时出现了这个错误:

Error running Debugger: Unable to open debugger port (localhost:8983): 
java.io.IOException "handshake failed - connection prematurally closed"
Run Code Online (Sandbox Code Playgroud)

知道如何解决这个问题吗?

java debugging intellij-idea

25
推荐指数
3
解决办法
5万
查看次数

标签 统计

debugging ×1

intellij-idea ×1

java ×1