ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
<forked VM failed with exit code 2>
<stdout last='20 lines'>
</stdout>
<stderr last='20 lines'>
ERROR: transport error 202: connect failed: Connection refused
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510)
JDWP exit error AGENT_ERROR_TRANSPORT_INIT(197): No transports initialized [debugInit.c:750]
solution: run it by command instead of directly running the
MVN clean package
java-jar target/benchmarks. Jar
if the Maven project generation jar runtime prompts “no main listing properties”, the entry class (that is, the class in which the main function resides)
cannot be found
modify the po. XML file by adding the following configuration item to specify the entry class:
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>com.jesper.jmh.FirstBenchmark</mainClass>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
div>
Read More:
- About JMH running ERROR: transport error 202: connect failed: Connection refused ERROR
- Failed to connect to remote VM. Connection reused. Connection reused: Connect
- [Linux] curl: (7) failed to connect to 127.0.0.1 port 1086: connection reused solution
- Solution of server connection reused (test environment)
- Nginx reports 502 error, log connect() failed (111: Connection refused) while connecting to upstream. A personal effective solution
- RTMP_Connect0, failed to connect socket. 110 (Connection timed out)
- Error condition on socket for Sync: connection reused
- JDBC connect to Sql Server to connect to the database–The TCP/IP connection to the host localhost, port 1433 has failed
- Error: transport error 202: bind failed: address already in use
- curl: (7) Failed connect to localhost:9200; Connection refused
- Using jmh in eclipse
- ABAQUS FLEXlm error: – 15, 10. System error: 10061 “Winsock: problem solving of connection reused”
- PHP under linux uses pdo-dblib to connect to mssql to report an error solution. Error message: SQLSTATE[01002] Adaptive Server connection failed (severity 9)
- Update project manually_ Solution of too large jar package in springboot
- curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
- Error:Connection activation Failed: no suitable device found for this connection solution
- error: \*1035 connect() failed (111: Connection refused) while connecting to upstream, client…..
- Java connection SQL error, network error IO Exception:Connection refused :connect
- Error: could’t connect to server 127.0.0.1:27017, connection attempt failed
- 【MongoDB】 Failed to connect to 127.0.0.1:27017, reason: Connection refused