I create a simple java class and export it to jar:
package test;
public class Test {
public Test() {
}
}
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?
source
share