Java – handshake failure – supernatural closing error when debugging Solr in Intellij
•
Java
So I'm going to debug my Solr filter plug-in on IntelliJ Community Edition Then I run the program from the comand prompt from this command
java -jar start.jar -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=8983
I started my IntelliJ debugger with this configuration:
Transport : socket Debugger mode : attach Host : localhost Port : 8983
But when I run the debugger, I get this error:
Error running Debugger: Unable to open debugger port (localhost:8983): java.io.IOException "handshake Failed - connection prematurally closed"
Any idea how to solve this problem?
Solution
It should be something like this,
java“-agentlib:jdwp = transport = dt_socket,server = y,suspend = y,address = 8983”-jar start. jar
It is working now
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码