单独运行某个测试用例可以通过,全部编译的时候报错
org.mockito.exceptions.base.MockitoException:
Cannot instantiate @InjectMocks field named 'productLogic' of type 'class .server.web.logic.ProductLogic'.
You haven't provided the instance at field declaration so I tried to construct the instance.
However the constructor or the initialization block threw an exception : GC overhead limit exceeded
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded
不知道是怎么回事,求解
相似问题