Parameter 0 of constructor in com.example.springdemo.service.IntegrationProcessorService required a bean of type 'com.collibra.marketplace.library.integration.CollibraImportApiHelper' that could not be found.
I am trying to get a new Collibra Springboot integration running. I have installed the Collibra Integration Library (com.collibra.marketplace v1.1.9) and am trying to load the Collibra ImportApiHelper object in my IntegrationProcessorService class, which is Autowired.
When I run the application, I am getting the error message:
Parameter 0 of constructor in com.example.springdemo.service.IntegrationProcessorService required a bean of type ‘com.collibra.marketplace.library.integration.CollibraImportApiHelper’ that could not be found.
The code that fails is this:
import com.collibra.marketplace.library.integration.CollibraImportApiHelper;
@Service
public class IntegrationProcessorService {
private static final Logger LOGGER = LoggerFactory.getLogger(IntegrationProcessorService.class);
private CollibraImportApiHelper collibraImportApiHelper;
@Autowired
public IntegrationProcessorService(CollibraImportApiHelper collibraImportApiHelper,){
this.collibraImportApiHelper = collibraImportApiHelper;
}
How do I inject the bean and get this running? This was working fine in an earlier version of the integration library.
aamanl
Posted 3 years ago · Edited 1 year ago·Last reply 3 years ago
3 comments
springboot_team
·3 years ago · EditedHi @aaman.lamba,
Can you please confirm that the following annotaiton is present and that the
scanBasePackagesincludescom.collibra? Thanksaamanl
OP3 years ago · EditedThank you, I was able to resolve this by checking my imports
Alexandra Jorgenson
Admin3 years ago · Edited@spring-team.collibra.com Is this something you could help @aaman.lamba with?