Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
luka2
Contributor
Contributor

Talend component kit - Exception in thread "main

Hi

I'm just starting with Talend component kit using Intellij and trying just follow guide how to create first logger component but have an error :

WARNING: An illegal reflective access operation has occurred

WARNING: Illegal reflective access by org.talend.sdk.component.runtime.manager.asm.Unsafes (file:/C:/Talend/studio/configuration/.m2/repository/org/talend/sdk/component/component-runtime-manager/1.37.0/component-runtime-manager-1.37.0.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)

WARNING: Please consider reporting this to the maintainers of org.talend.sdk.component.runtime.manager.asm.Unsafes

WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations

WARNING: All illegal access operations will be denied in a future release

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

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)

Windows 11 , Java version that I'm using zulu 11 jdk,

using command :

.\mvn clean install 

.\mvnw talend-component:deploy-in-studio -D talend.component.studioHome=C:/Talend/studio -D talend.component.enforceDeployment=true

Talend version : Talen Data Integration 8..0.1, I have tried with Big Data as well but the same error.

Thank you for any help in advance.

Luka

2 Replies
Anonymous
Not applicable

Hello,

 

Your issue comes from this:

java.lang.NoClassDefFoundError: routines/system/Dynamic

 

Which is fixed in the later version of component kit, so it's enough to build the component with a newer version.

 

luka2
Contributor
Contributor
Author

Hi @Balazs Gunics​ 

I'm using TCK version 1.57.1 - is there any newer version ?

Still have the same error. Any idea ?

I have re-installed windows with new Talend DI version 8.0.1.20211109_1610

 

Just trying simple :

@ElementListener

public void onNext(

@Input final Record defaultInput,

@Output final OutputEmitter<Record> defaultOutput) {

System.out.println("abc");

}

and connecting trowgenerator with my component.

 

Thank you for your help.

Luka