ERROR: JDWP unable to get necessary JVMTI capabilities.

I got this error today when I try to start up weblogic as debug mode.

Did some searching, here is the solution:

I found that I have 2 sets of "-Xdebug -Xrunjdwp:", one is for 8453, the other is for 5005.

I simply removed the 5005 one:

-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5005

Now it's working.