Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
RGriveau
Contributor III
Contributor III

use of cJsonValidator component with repo resources

Hello,

I'm actually trying to use this component with json schemas defined in the resources of the repository but nothing works.

Does anyone already used it?

I tried "resource://jsonSchema.json" and having the resource added in the dependancies of the route, nothing works

Labels (1)
1 Solution

Accepted Solutions
RGriveau
Contributor III
Contributor III
Author

ok the solution was to add "classpath:" at the beginning.

classpath:json_schema.json

Now i have issues with using the logs created

View solution in original post

3 Replies
Xiaodi_Shi
Employee
Employee

Hello,

We are supposing that you've checked this online component reference about:

https://help.qlik.com/talend/en-US/components/8.0/mediation-validation/cjsonvalidator-standard-prope...

Would you mind posing your trouble screenshots here which will be helpful for us to check your configuration and setting. Please mask your sensitive data as well.

Best regards

Sabrina

RGriveau
Contributor III
Contributor III
Author

hello, 

Yes i've read it, but i'm using a specific talend functionality here, the resources

Capture d’écran 2024-09-20 à 11.47.57.png

 I tried every conf possible, no success:

java.lang.IllegalArgumentException: Cannot find a ResourceResolver in classpath supporting the scheme: resource

Capture d’écran 2024-09-20 à 11.46.24.png

So i think i don't use the component well. But i need to use resource of repository, and if possible without creating a local file based on the content of the json.

RGriveau
Contributor III
Contributor III
Author

ok the solution was to add "classpath:" at the beginning.

classpath:json_schema.json

Now i have issues with using the logs created