IDEA debug报错
FATAL ERROR in native method: JDWP No transports initialized, jvmtiError=AGENT_ERROR_TRANSPORT_LOAD(196)
ERROR: transport library not found: dt_socket
ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_LOAD(509)
JDWP exit error AGENT_ERROR_TRANSPORT_LOAD(196): No transports initialized [debugInit.c:750]
标题报错原因jre版本不匹配
解决办法:
Run里找到Edit
更改jre版本
将默认改为和你jdk向对应的版本,我的jdk是1.8就改为1.8