无法以调试模式启动开发服务器
Unable to start development server in debug mode
当我在调试模式下启动 MobileFirst Server 时,加载失败并显示以下错误消息:
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
我该如何解决这个问题?
MobileFirst Development Server 默认处于调试模式...因此当您尝试使用 "debug mode" 图标启动服务器时,它会失败,因为调试定义不能设置两次,这就是错误信息所说的。
要在调试模式下启动服务器,只需像通常那样启动它,即单击 "play" 按钮。
这样做之后,您可以发现以下行:"Listening for transport dt_socket at address: 10777".
这意味着服务器以调试模式启动。
当我在调试模式下启动 MobileFirst Server 时,加载失败并显示以下错误消息:
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
我该如何解决这个问题?
MobileFirst Development Server 默认处于调试模式...因此当您尝试使用 "debug mode" 图标启动服务器时,它会失败,因为调试定义不能设置两次,这就是错误信息所说的。
要在调试模式下启动服务器,只需像通常那样启动它,即单击 "play" 按钮。
这样做之后,您可以发现以下行:"Listening for transport dt_socket at address: 10777".
这意味着服务器以调试模式启动。