在单元测试时出现Connected to the target VM, address: ‘127.0.0.1:1054’, transport: 'socket’问题可能是因为你的junit的jar包版本太高了
解决方法两个:
1.将junit的jar包降为4.10
2.增加一个hamcrest-core-1.3.jar包
Connected to the target VM, address: ‘127.0.0.1:1054‘, transport: ‘socket‘
最新推荐文章于 2022-04-23 15:35:20 发布