标签:
1.Debug调试出错,提示:
Error occurred during initialization of VM
agent library failed to init: jdwp
ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.
打开对应的 ***.launch,找到下面节点:
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Dplay.debug=yes -Dplay.id= -Dapplication.path …/>
删除以下部分:
-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n
未完待续。
标签:
原文地址:http://www.cnblogs.com/alex09/p/5029442.html