Pessoal,
estou tentando criar um teste, porém esta dando erro abaixo :
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
‘com.thomsonreuters.suitegtm.specialscheme.movement.service.impl.TrSsMovementServiceImplTest’:
Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: private transient com.thomsonreuters.suitegtm.specialscheme.movement.service.TrSsMovementService
com.thomsonreuters.suitegtm.specialscheme.movement.service.impl.TrSsMovementServiceImplTest.trSsMovementService;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘trSsMovementService’:
Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field: private com.thomsonreuters.suitegtm.specialscheme.movement.service.TrSsStructureProductionOrderService
com.thomsonreuters.suitegtm.specialscheme.movement.service.impl.TrSsMovementServiceImpl.trSsStructureProductionOrderService;
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘trSsStructureProductionOrderService’:
Invocation of init method failed; nested exception is java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
Could not autowire field: private com.thomsonreuters.suitegtm.specialscheme.movement.service.TrSsStructureProductionOrderService
com.thomsonreuters.suitegtm.specialscheme.movement.service.impl.TrSsMovementServiceImpl.trSsStructureProductionOrderService;
nested exception is org.springframework.beans.factory.BeanCreationException:
Error creating bean with name ‘trSsStructureProductionOrderService’:
public class TrSsMovementServiceImplTest extends TaxitBaseServiceTestCase {
/**
* Instancia do Service.
*/
@Inject
private transient TrSsMovementService trSsMovementService;
..........................
não sei aonde procurar , para resolver este problema.
Alguem pode me ajudar ??