play debug启动报错Error occurred during initialization of VM agent library failed to init: jdwp
play 框架 部署后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.
解决方法:
在eclipse文件下找到.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="${project_loc:playTest}" -Djava.endorsed.dirs="E:\play-1.2.7.2\play-1.2.7.2/framework/endorsed" -javaagent:"E:\play-1.2.7.2\play-1.2.7.2/framework/play-1.2.7.2.jar""/>
修改后的配置
<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx1024m -Xms1024m -XX:PermSize=256m -XX:MaxPermSize=512m -Dplay.id= -Dapplication.path="${project_loc:playTest}" -Djava.endorsed.dirs="E:\play-1.2.7.2\play-1.2.7.2/framework/endorsed" -javaagent:"E:\play-1.2.7.2\play-1.2.7.2/framework/play-1.2.7.2.jar""/>
debug启动成功
play debug启动报错Error occurred during initialization of VM agent library failed to init: jdwp相关推荐
- jmeter启动报错 Error occurred during initialization of VM Could not reserve enough space for object heap
报错为创建空间过大,没有足够空间. 解决方案: 用vs code 或 notepad++等软件打开bin文件夹里的jmeter.bat 找到set HEAP这一行,修改Xm后的数据 set HEAP= ...
- IDEA报错Error occurred during initialization of VM
解决方式:选的jdk有问题,要在File->Project Structured的Project中选好配置好环境变量的那个jdk才行
- JAVA类运行时,报错“Error occurred during initialization of boot layer”
JAVA类运行时,报错"Error occurred during initialization of boot layer" 网上查原因是由于JDK9及以上版本引入了模块,所以在 ...
- 【RFID】OctaneSDKJava Eclipse报错Error occurred during initialization of boot layer
问题详情 报错如下: Error occurred during initialization of boot layer java.lang.module.FindException: Unable ...
- jenkins构建报错“Error occurred during initialization of VMCould not reserve enough space for 2097152KB”
系统环境是windows 部署容器 tomcat 网上查资料原因是jvm内存太低导致的,因为我配置的service服务启动,修改tomcat/bin/tomcat9w.exe设置 修改后构建jenki ...
- nodejs express 启动报错:Error: Cannot find module 'xxx'
nodejs express 启动报错:Error: Cannot find module 'xxx',这是因为缺少模块的引用. 比如我在代码中使用了'express-session',但是却没有在 ...
- mysql 启动报错 ERROR The server quit without updating PID file
mysql 启动报错 : ERROR! The server quit without updating PID file (/usr/local/var/mysql/bogon.pid). 今天莫名 ...
- MongoDB启动报错 ERROR: child process failed, exited with 1
1.启动报错 ERROR: child process failed, exited with 1 2.报错的原因 使用kill关闭进程导致的错误 3.解决 3.1.进入data中的目录,删除lock ...
- 虚拟机启动报错error: Raw-mode is unavailable courtesy of Hyper-V
虚拟机启动报错error: Raw-mode is unavailable courtesy of Hyper-V 之前玩docker的时候下载的hyper-v,正常情况下应该没有安装hyper-v, ...
最新文章
- jupyter扩展插件Nbextensions的安装、使用
- Mosquitto配置文件说明
- 数据包注入重放工具aireplay-ng
- what you CAN LEARN FROM AUTOMATOR AND APPLE STEVE JOBS
- Ibatis学习总结1--ibatis简介和SQL Maps
- 解决 windows10和ubuntu16.04双系统下时间不对的问题
- 千亿级的数据难题,优酷工程师怎么解决?
- 谷歌浏览器如何使用网页截图
- c语言不定参数个数,C语言中不定参数的实现
- linux pid t 头文件_pid和tid及线程调度
- JavaScript数据结构——图(Graph)
- 从校内谈SNS-网络社区文化
- 不可不知的 Android strings.xml 那些事
- php 五子棋源联机版_五子棋服务器客户端联机对战 C++版完整代码
- java源码编译_java 源码编译
- 乐优商城遇到的坑(三)之Centos6.5下安装nginx出错
- 他们都说springboot是懒人神器,你觉得呢?
- 新浪微博开发平台试用
- 企查查api接口批量操作实战
- 我们学校有计算机房用英语怎么说,根据中英提示,完成下列各句1、他们学校有3个计算机房??......