Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Design time part works nicely, but when I run a job that uses the component I get the error "java.lang.IllegalArgumentException: Can't find myfamily# MyProcessor".
It looks like the ComponentManager does not find the component. Is there any additional meta information required in the final jar file to make my component known to the ComponentManager?
The generation of 'TALEND-INF/dependencies.txt' with the maven-dependency-plugin works, but the generation of the 'TALEND-INF/plugins.properties' with the maven-shade-plugin as described in the sdk documentation fails in my environment. So my component comes without 'TALEND-INF/plugins.properties'.
Is this the reason, that my plugin is not found at runtime?
How can I tell the ComponentManager that my component is available?
Best regards
Stefan
Hi Stefan,
Could you specify which version of the framework do you use?
Also please, attach the full stack trace of the error.
Could you also show your package-info.java file? The family name is specified there so it might be a good start point for investigating what could go wrong.
It should be similar to:
@Components(family = "Hazelcast", categories = "Databases")
@Icon(value = Icon.IconType.CUSTOM, custom = "Hazelcast")
package org.talend.components.hazelcast;
import org.talend.sdk.component.api.component.Components;
import org.talend.sdk.component.api.component.Icon;
https://talend.github.io/component-runtime/main/1.28.2/tutorial-create-an-input-component.html
Best regards, Oleksandr