首页
软件开发
登录
6mi
u
盘
搜
搜 索
软件开发
Connected to the target VM, address: '127.0.0.1:57210', transport: 'socket'
Connected to the target VM, address: '127.0.0.1:57210', transport: 'socket'
xiaoxiao
2022-07-13
212
这里说下我解决的方法(对于你来可能不适用)
使用idea的go into生成测试方法时,自己一定要加上两个标签进行测试
@RunWith(SpringRunner.class) @SpringBootTest
同时如果不加这个方法会一直报空指针异常,加上这个方法即可测试了。
转载请注明原文地址: https://yun.8miu.com/read-56115.html
最新回复
(
0
)