Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Xavier5
Contributor

Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/DynamicMetadata

Hello,

With TOS 8.0.1 for BigData, i have a simple job for testing puprose :

tCosmosDBSQLAPIInput -----tLogRow

But the job returns errors because the Dynamic and DynamicMetaData classes are missing. The libraries must be missing.

Version 7.3.1 does not work either

How to make the tCosmosDBSQLAPIInput component work with TOS ?

Best regards,

Xavier

Exception in thread "main" java.lang.NoClassDefFoundError: routines/system/DynamicMetadata

at java.base/java.lang.Class.getDeclaredMethods0(Native Method)

at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3166)

at java.base/java.lang.Class.getDeclaredMethod(Class.java:2473)

at org.talend.sdk.component.runtime.record.RecordConverters$MappingMeta.newInstance(RecordConverters.java:479)

at org.talend.sdk.component.runtime.record.RecordConverters.toType(RecordConverters.java:268)

at local_project.test_0_1.test.tCosmosDBSQLAPIInput_1Process(test.java:870)

at local_project.test_0_1.test.runJobInTOS(test.java:1408)

at local_project.test_0_1.test.main(test.java:1246)

Caused by: java.lang.ClassNotFoundException: routines.system.DynamicMetadata

at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)

at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)

at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

... 8 more

Labels (5)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello,

I’m afraid we do not supply patches for the Open Studio releases. We only provide patches for our subscription products.

Best regards

Sabrina

View solution in original post

9 Replies
Anonymous
Not applicable

Hello,

Regarding of this component reference(Note part)

https://help.talend.com/r/en-US/8.0/cosmosdb/tcosmosdbsqlapiinput

To be able to use this component you would need to install a patch R2020-06

Best regards

Sabrina

Xavier5
Contributor
Author

Hello,

Thank you for your reply.

Is it possible to install this type of patch on TOS ?

Many thanks,

Xavier

Anonymous
Not applicable

Hello,

I’m afraid we do not supply patches for the Open Studio releases. We only provide patches for our subscription products.

Best regards

Sabrina

Xavier5
Contributor
Author

Hello Sabrina,

Thank you, that answers my question !

Best regards,

Xavier

VinoKulla
Contributor

Hi Team,

 

we also facing this related issues, while we were replacing the tTeradata component with snowflake components and trying to execute the job in TMC environment but we facing the below issue even many time redeployed the job.

 

Exception in thread "main" java.lang.NoClassDefFoundError: org/talend/components/api/component/ComponentDefinition

 

so please help us to resolve this issue.

 

Regards,

Vinodhini V.

Anonymous
Not applicable

Hello,

When you are getting No Class found error when Publishing Job in TMC issue, this is probably due to the difference between the JAVA Env where the Platform build the Job and when Published in the TMC, Could you please confirm the following?

What is Java brand and version Local studio Build Vs TMC

What is the RE Version? hosted on prem or in the cloud?

And for better understanding of the issue, could you please build the Job in Debug Mode, turn on the Run, log4j and publish the Job run it, review the log for issues concerning No Class found.

Best regards

Sabrina

VinoKulla
Contributor

Hi ..

 

It is not publishing. while executing the job in TMC there only we are facing the issue

Java version is JDK 1.8 talend studio is 7.3.1

Moreover we are not able to test in studio locally since don't have the access to do that.. directly run the jobs in TMC everytime

so please help to us

Regards,

Vino

Anonymous
Not applicable

Hello,

Sorry for getting back to you so late.

Is there any more error message in your execution log of TMC?

Best regards

Sabrina

 

VinoKulla
Contributor

Hi,

 

Below error only came while running the job.

 

Regards,

Vinodhini