出现com.sun.tools.attach.VirtualMachine错误 解决办法: 1.将jre/bin加入path环境变量中 2.jre/bin/attach.dll 文件加入jdk的bin目录