paly 框架Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options.

来源:互联网 发布:戴予桐 直播软件 编辑:程序博客网 时间:2024/06/03 21:48

今天使用play框架启动项目时候,直接Debug As 执行Demo会报错:
ERROR: Cannot load this JVM TI agent twice, check your Java command line for duplicate jdwp options.
Error occurred during initialization of VM agent library failed to init: jdwp

解决办法:

编辑Demo.launch

找到
stringAttribute key=”org.eclipse.jdt.launching.VM_ARGUMENTS” value=” -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Dplay.debug=yes …

将-Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n去掉!

阅读全文
1 0