Lance_Harlan's profile

36 Messages

 • 

1.6K Points

Tuesday, September 26th, 2023 8:03 PM

Cognos to Collibra Spring Boot

I’m having issues with trying to get the spring boot package for Cognos to Collibra to run. I keep getting the error “The bean ‘productApi’, defined in class path resource [com/collibra/marketplace/cognos/config/SwaggerConfig.class], could not be registered. A bean with that name has already been defined in class path resource [com/collibra/marketplace/cognos/config/OpenApiConfig.class] and overriding is disabled.” I have tried the suggest “enabling overriding by setting spring.main.allow-bean-definition-overriding=true” in the application.properties file and have tried to rename the bean, but still only get this message. What am I missing? Has anyone else run into this?

36 Messages

 • 

1.6K Points

1 year ago

I got a little bit further if anyone on here has ever dealt with Cognos Spring boot to Collibra before. I’m stuck here: 2023-09-27 13:44:50,533 [main] ERROR org.springframework.boot.SpringApplication - Application run failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘cognosAuthentication’ defined in file [D:\Karsten\cognos-integration-1.0.5\sbi-cognos-integration-source-v1.0.5\sbi-cognos-integration-source-v1.0.5\v1.0.5\sbi-cognos-integration-1.0.5\target\classes\com\collibra\marketplace\cognos\component\CognosAuthentication.class]: Bean instantiation via constructor failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.collibra.marketplace.cognos.component.CognosAuthentication]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
Syntax error, insert “Identifier (” to complete ConstructorHeaderName
Syntax error, insert “)” to complete ConstructorDeclaration
Syntax error, insert “;” to complete ConstructorDeclaration
Syntax error, insert “Identifier (” to complete ConstructorHeaderName
Syntax error, insert “)” to complete ConstructorDeclaration
Syntax error, insert “;” to complete ConstructorDeclaration
The attribute value is undefined for the annotation type Scheduled
Syntax error on token “=”, != expected

Loading...