Caused by: com.sun.tools.attach.AttachNotSupportedException: Unable to
open socket file: target process not responding or HotSpot VM not loaded
at sun.tools.attach.BsdVirtualMachine.<init>(BsdVirtualMachine.java:90)
at
sun.tools.attach.BsdAttachProvider.attachVirtualMachine(BsdAttachProvider.java:63)
at com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:178)
at
mockit.internal.startup.JDK6AgentLoader.attachToThisVM(JDK6AgentLoader.java:88)
Why does it use JDK6-named class if I'm building with 7?
I'm on mac (if it makes any difference)
-marina
On 1/31/13 12:27 PM, Tom Mueller wrote:
> Me too. You are the first person I've heard of that is also seeing this.
> Jean and I were discussing this last week, trying to figure out what
> triggers this but have not been able to find anything.
>
> Do you also get this message?
>
> [INFO] Surefire report directory:
> /Users/tomuell/ws/cloudlogic/main/nucleus/core/context-propagation/target/surefire-reports
> java.lang.RuntimeException:
> com.sun.tools.attach.AttachNotSupportedException: Unable to open
> socket file: target process not responding or HotSpot VM not loaded
>
> Tom
>
> On 1/31/13 2:21 PM, Marina Vatkina wrote:
>> I have been seeing this error for some time. The build succeeds
>> (usually) after I run it again:
>>
>> [ERROR] Failed to execute goal
>> org.apache.maven.plugins:maven-surefire-plugin:2.4.3:test
>> (default-test) on project context-propagation:
>> org.junit.runner.Runner; nested exception is
>> java.lang.NoClassDefFoundError: org.junit.runner.Runner -> [Help 1]
>>
>> -marina
>