I'm using java api for de transformations.
When I running local (eclipse/windows), the transformation works perfectly! But I will run in linux, the transformation doens't works and return the problem:
"The transformation path file:/opt/platform/erpx-fnd-importacao-develop-SNAPSHOT/erpx-fnd-importacao-develop-SNAPSHOT-assembled-jar-with-dependencies.jar!/fnd_pessoa.ktr is invalid, and will not run successfully".
My software is running with docker and linux Ubuntu.
My code:
try {
KettleEnvironment.init();
Trans transformation = new Trans(new
TransMeta(ClassLoader.getSystemResource("fnd_pessoa").getFile()));
transformation.execute(null);
transformation.waitUntilFinished();
if (transformacao.getErrors() > 0) {
LOGGER.error("Ocorreram erros durante a importação");
}
} catch (KettleException e) {
throw new KettleExceptions("Problemas ao inicializar PDI - Kettle ", e);
}