握手失败 - 在Intellij中调试Solr时连接超自然关闭错误 [英] Handshake failed - connection prematurally closed error when debugging Solr in Intellij
本文介绍了握手失败 - 在Intellij中调试Solr时连接超自然关闭错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
所以我打算在Intellij社区版上调试我的Solr过滤器插件。之后我用这个命令从comand提示符运行程序
So i was going to debug my Solr filter plugins on Intellij Community Edition. After i ran the program from comand prompt with this command
java -jar start.jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8983
我用这个配置启动了我的Intellij调试器: / p>
I started my Intellij debugger with this config:
Transport : socket
Debugger mode : attach
Host : localhost
Port : 8983
但是当我运行调试器时,我收到了这个错误:
But when I ran the debugger I got this error:
Error running Debugger: Unable to open debugger port (localhost:8983):
java.io.IOException "handshake failed - connection prematurally closed"
任何想法如何解决这个问题?
Any idea how to fix this?
推荐答案
应该是这样的,
It should be something like this,
java-agentlib:jdwp = transport = dt_socket,server = y,suspend = y,address = 8983-jar start.jar
现在正在工作
这篇关于握手失败 - 在Intellij中调试Solr时连接超自然关闭错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文