Talend routine add maven dependency

雨燕双飞 提交于 2019-12-11 04:16:09

问题


In Talend Data Integration Studio (7.0.1), I have a custom routine, where I want to use a Maven dependency (JavaFaker).

By the project explorer window, I can add maven depnedency on CustomRoutine project.

After refreshing, maven dependency javaFaker (and it sub dependencies) looks loaded, are displayed in project explorer, and autocompletion is ok on routine code.

But when I try to run the job, no way to make it work: Class is not found (java.lang.NoClassDefFoundError).

Sometimes maven dependencies config from project routines is reseted (when I go in talend main maven project setting I think).

What are steps to use a maven Library in a Talend routine? Add an external jar is complicated because of sub dependencies in maven librries…

来源:https://stackoverflow.com/questions/51969756/talend-routine-add-maven-dependency

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!