Pentaho Data Integration Custom Java Class

I create a simple java class and export it to jar:

package test;
public class Test {

    public Test() {
        // TODO Auto-generated constructor stub
    }

}

The jar file is added to the lib folder in Pentaho (there are many jar files) Next step I want to use my class in Pentaho data integration, so I created a custom Java class:

public boolean processRow(StepMetaInterface smi, StepDataInterface sdi) throws KettleException
{
    test.Test t = new test.Test();
    return true;
}

When I click Test class, I get the following information:

Row 3, column 12: class "test.Test" not found

So, I have a question: where is the error and why is the class not found?

+4
source share
1 answer
  • launcher.property /design-tools/data-integration/launcher. , . JAR lib, .

enter image description here

  1. , .

libext, :../libext . :

enter image description here

, Java. , - .

.

, :)

0

All Articles