Connected to the target VM, address: '127.0.0.1:57210', transport: 'socket'

這裏說下我解決的方法(對於你來可能不適用)html 使用idea的go into生成測試方法時,本身必定要加上兩個標籤進行測試ide @RunWith(SpringRunner.class) @SpringBootTest 同時若是不加這個方法會一直報空指針異常,加上這個方法便可測試了。 測試  
相關文章
相關標籤/搜索