Cognos to Collibra Integration build error
Getting “Datasource.DatasourceBuilder cannot be resolved to a type” error in ExtractCognosStructure class when build the Cognos to Collibra Integration in Eclipse (https://marketplace.collibra.com/listings/cognos-to-collibra-integration-2/)
Environment:
Windows 10
Eclipse IDE for java 2021
JDK 1.8
Maven 3.8.4
collibra.integration.library 1.1.3
Anyone run into this issue? any recommendation?
Thanks
jackyxing1
Posted 4 years ago · Edited 1 year ago·Last reply 4 years ago
8 comments
indranilchakraborty
·4 years ago · EditedHi Team,
Can you please let me know exactly what information i need it from IBM Cognos Analytics to connect. I have got the below information from our Cognos team, but during connection it is throwing the below error:
We are using IBM Cognos Analytics 11.1.7 and I am able to login there too.
Hence please let me know exactly from what /where i will get the below correct information.Does it use APIs to capture metadata?
source.http.base-url=
source.http.namespace=
source.http.username=
source.http.password=
source.http.session.timeout=
2022-03-22 09:04:49.844 ERROR 20872 — [ scheduling-1] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpected error occurred in scheduled task
org.json.JSONException: JSONObject[“session_key”] not found.
at org.json.JSONObject.get(JSONObject.java:572) ~[json-20210307.jar:?]
at com.collibra.marketplace.cognos.utils.Utils.extractJson(Utils.java:68) ~[classes/:?]
at com.collibra.marketplace.cognos.component.CognosAuthentication.authRequired(CognosAuthentication.java:67) ~[classes/:?]
indranilchakraborty
·4 years ago · EditedThank you team for the great help. upgrading the collibra integration library version fixed the issue.
Regards,
Indranil
springboot_team
·4 years ago · EditedHello Indranil,
Thanks for trying the Cognos to Collibra integration.
Regarding the issue encountered, can you please confirm whether your Collibra instance has build number 20220302161146?
If it is the case, can you please do the following:
Download the latest version of the Spring Boot Integration Library having version 1.1.4 from here.
Install it in your local Maven repository (please refer to the documentation).
From the Cognos to Collibra Spring Boot integration, open the pom.xml file and replace the following (should be line 19):
<collibra.integration.library.version>1.1.3</collibra.integration.library.version>with:
<collibra.integration.library.version>1.1.4</collibra.integration.library.version>indranilchakraborty
·4 years ago · EditedAfter installing the lombok the above error gone. But still another error is coming up when running with eclipse.Below the error.Can you please advice
rror starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2022-03-16 17:12:54.981 ERROR 23516 — [ main] o.s.b.SpringApplication : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘transformerCognosStructure’ defined in file [C:\Users\ichakraborty5\Downloads\sbi-cognos-integration-v1.0.0\sbi-cognos-integration-1.0.0\target\classes\com\collibra\marketplace\cognos\component\TransformerCognosStructure.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘collibraImportApiHelper’ defined in URL [jar:file:/C:/Users/ichakraborty5/.m2/repository/com/collibra/marketplace/collibra-integration-library/1.1.3/collibra-integration-library-1.1.3.jar!/com/collibra/marketplace/library/integration/CollibraImportApiHelper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘internalSharedLibraryConnection’: Invocation of init method failed; nested exception is com.collibra.marketplace.library.integration.exception.CollibraIntegrationLibraryException: {“message”:“An unexpected error occurred during execution.”,“details”:null}
indranilchakraborty
·4 years ago · EditedAfter installing the lombok the above error gone. But still another error is coming up when running with eclipse.Below the error.Can you please advice
rror starting ApplicationContext. To display the conditions report re-run your application with ‘debug’ enabled.
2022-03-16 17:12:54.981 ERROR 23516 — [ main] o.s.b.SpringApplication : Application run failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘transformerCognosStructure’ defined in file [C:\Users\ichakraborty5\Downloads\sbi-cognos-integration-v1.0.0\sbi-cognos-integration-1.0.0\target\classes\com\collibra\marketplace\cognos\component\TransformerCognosStructure.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘collibraImportApiHelper’ defined in URL [jar:file:/C:/Users/ichakraborty5/.m2/repository/com/collibra/marketplace/collibra-integration-library/1.1.3/collibra-integration-library-1.1.3.jar!/com/collibra/marketplace/library/integration/CollibraImportApiHelper.class]: Unsatisfied dependency expressed through constructor parameter 1; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘internalSharedLibraryConnection’: Invocation of init method failed; nested exception is com.collibra.marketplace.library.integration.exception.CollibraIntegrationLibraryException: {“message”:“An unexpected error occurred during execution.”,“details”:null}
Paulo Taylor
·4 years ago · Edited@spring-team.collibra.com can you please have a look here.
Thanks.
Alexandra Jorgenson
Admin4 years ago · Edited@jacky.xing.1 Did you submit this to our Support Portal. When submitting, I would reference the URL of this thread.
jackyxing1
OP4 years ago · EditedThanks Kristen.
The issue was resolved by adding lombok in Eclipse.