Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
Im getting this error when i use tJasperOutput. The reason being is the job is looking for FastHashMap in common-collections. whereas in the common-collections4 jar doesn't have that method/class file.
Hi
Please provide the following information for us to be more better evaluate the issue:
- Product version (such as Talend Cloud Real-Time Big Data Platform (7.3.120200219_1130)
- Operating System (such as Windows 10, 64 bit)
- Java version (such as Oracle JDK build 11.0.8+10-LTS)
This is usually caused by using an incompatible Java version.
Regards
Shong
Hello Shong
Talend Open Studio for Data Integration Version: 8.0.1
java : jdk11.0.14
OS : Windows 10 Pro
@Vinothkumar Radhakrishnan, I checked the API common-collections4 4.4 version and I don't see the class exist in this release, it looks like a bug on the component, i have open a jira issue. In the mean time, have a try to download the version 2.1.2 and replace 4.4 version with it from Module viewer.
Regards
Shong
Hi Shong
Can you guide me on how we can change the jar in the module
To update a jar, follows these steps:
1- Stop studio.
2- Go to <studio installation directory>\configuration\.m2\repository\org\apache\commons and delete the folder commons-collections4 and then restart studio.
3- Open the Module viewer, click on '...' button to browse the jar file from local computer, see below.
BTW, please watch the jira issue and follow up the issue's status.
Regards
Shong
Hello Shong
I tried removing the folder. Then the Jasperoutput component demands for installing the jar. I can't run the job before installing.can you guide me on which file, i need to modify the dependency for commoncollection4
the source file of component is located in <studio installation directory>\plugins\org.talend.designer.components.localprovider_8.0.1.20211104_0248\components\tJasperOutput
Take a look at the tJasperOutput_java.xml file.
I tried modifying both in the mentioned file and in the project pom.xml
Still it asks for common-collections4.4 jar
@Vinothkumar Radhakrishnan , I'm not a developer, I'm afraid I can't help you to modify the dependency for commoncollection4. For testing, install the jar file version 2.1.2 even though it asks for version 4.4, to check if you have issue to use tJasperOutput with jar version 2.1.2.
Can you share your job that can help us to reproduce the issue?
Regards
Shong