看起來像這樣是你的問題
你有一個自定義類加載器嗎?所有被阻塞的線程都試圖加載類。
com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader) 在com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader.loadClass(UserDefinedClassLoader.java:62) - 鎖定< 0x00000007efc97ea0>(com.instantiations.assist.eclipse.junit.execution.core.UserDefinedClassLoader) at java.lang.ClassLoader.loadClass(ClassLoader.java:266) at com.zmedia.accounts.AccountsProto $ ZAID $ ZUID $ UserTicket $ ServiceTicket.initFields(AccountsProto.java:51314) at com.zmedia.accounts.AccountsProto $ ZAID $ ZUID $ UserTicket $ ServiceTicket。(AccountsProto.java:52130) at java.lang.Class.forName0(Native Method) 在java.lang.Class.forName(Class.java:186) at com.zmedia.resource.ResourceType。(ResourceType.java:28) at com.zmedia.resource.ResourceType.loadResources(ResourceType.java:63) 在com.zmedia.resource.URI.init(URI.java:859) 在com.zmedia.resource.URI(URI.java:87) 在com.zmedia.resource.URI(URI.java。: 81) at com.zmedia.accounts.Accounts $ AccountURI。(Accounts.java:13142) at com.zmedia.accounts.Accounts.getAccountURI(Accounts.java:13132) at com.zmedia.accounts.api.AccountTester .testGrandChildinSubresources(AccountTester.java:841)