执行包含来自 talend 中另一个作业的休息请求的作业

是我

所以我正在使用 talend esb 8,我有一份工作,我们称之为“restjob”,其中包含一个 trestrequest 一些工作和一个 trestresponse 。我想在另一个中执行这个工作,所以我做了一个新工作,我用组件 trunjob 调用了“restjob”。但是我在执行工作时遇到了一个问题,我有很多错误,有人可以帮助我,也许我配置了错误或其他东西。

错误日志:

    org.talend.designer.runprocess.ProcessorException: java.lang.Exception: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:5.1.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-utils:jar:3.3.0, org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-9: Cannot access central (https://repo1.maven.org/maven2/) in offline mode and the artifact org.codehaus.plexus:plexus-utils:jar:3.3.0 has not been downloaded from it before. @ 
[ERROR] Unknown packaging: bundle @ line 14, column 14
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.example.api_discovery.service:create_user:0.1.0 (C:\Users\ASUS\Desktop\Studio\workspace\API_DISCOVERY\poms\jobs\process\api_discovery\create_user_0.1\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:5.1.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-utils:jar:3.3.0, org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-9: Cannot access central (https://repo1.maven.org/maven2/) in offline mode and the artifact org.codehaus.plexus:plexus-utils:jar:3.3.0 has not been downloaded from it before. -> [Help 2]
[ERROR]     Unknown packaging: bundle @ line 14, column 14
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

    at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:818)
    at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:706)
    at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:2029)
    at org.talend.designer.runprocess.RunProcessContext$2.run(RunProcessContext.java:663)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:436)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:352)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:468)
    at org.eclipse.ui.internal.progress.ProgressMonitorJobsDialog.run(ProgressMonitorJobsDialog.java:228)
    at org.eclipse.ui.internal.progress.ProgressManager.run(ProgressManager.java:984)
    at org.talend.designer.runprocess.RunProcessContext.exec(RunProcessContext.java:610)
    at org.talend.designer.runprocess.ui.ProcessComposite.exec(ProcessComposite.java:1447)
    at org.talend.designer.runprocess.ui.views.ProcessView$RunAction.run(ProcessView.java:736)
    at org.talend.designer.runprocess.ui.actions.RunProcessAction.run(RunProcessAction.java:63)
    at org.talend.designer.core.debug.JobLaunchConfigurationDelegate$1$1.run(JobLaunchConfigurationDelegate.java:98)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4001)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3629)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1157)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)
    at org.talend.rcp.intro.Application.start(Application.java:303)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.base/java.lang.reflect.Method.invoke(Method.java:568)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:654)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1462)
Caused by: java.lang.Exception: [ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:5.1.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-utils:jar:3.3.0, org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-9: Cannot access central (https://repo1.maven.org/maven2/) in offline mode and the artifact org.codehaus.plexus:plexus-utils:jar:3.3.0 has not been downloaded from it before. @ 
[ERROR] Unknown packaging: bundle @ line 14, column 14
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]   
[ERROR]   The project org.example.api_discovery.service:create_user:0.1.0 (C:\Users\ASUS\Desktop\Studio\workspace\API_DISCOVERY\poms\jobs\process\api_discovery\create_user_0.1\pom.xml) has 2 errors
[ERROR]     Unresolveable build extension: Plugin org.apache.felix:maven-bundle-plugin:5.1.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.codehaus.plexus:plexus-utils:jar:3.3.0, org.codehaus.plexus:plexus-classworlds:jar:1.2-alpha-9: Cannot access central (https://repo1.maven.org/maven2/) in offline mode and the artifact org.codehaus.plexus:plexus-utils:jar:3.3.0 has not been downloaded from it before. -> [Help 2]
[ERROR]     Unknown packaging: bundle @ line 14, column 14
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/PluginManagerException

    at org.talend.designer.maven.launch.MavenCommandLauncher.execute(MavenCommandLauncher.java:401)
    at org.talend.designer.maven.launch.MavenPomCommandLauncher.execute(MavenPomCommandLauncher.java:57)

    at org.talend.designer.maven.tools.BuildCacheManager.build(BuildCacheManager.java:230)
    at org.talend.designer.runprocess.maven.MavenJavaProcessor.build(MavenJavaProcessor.java:422)
    at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:815)
    ... 38 more
阿明·本·哈利法

1-确保在 Maven 设置中“离线”未选中,然后重试。

2-您是否尝试过停止工作室 -> 重命名 <studio_installation_dir>\configuration 下的 .m2 文件夹 -> 启动工作室以重新生成 .m2 文件夹?

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

在 node js 中的另一个 cron 作业中执行一个 cron 作业

如何设置Talend中已经存在的子作业的执行顺序?

对 SparkSQL 中数组列的每个元素执行 UDF(需要另一个火花作业)

从另一个作业触发詹金斯作业的“执行Maven发布”

如何告诉 jenkins 检查是否正在执行另一个作业 一个作业是由 webhooks 触发的?

Talend-如果fileName包含给定的模式,则运行子作业

如何通过python脚本运行或执行Talend作业?

如何执行Jenkins构建作业,作为另一个作业构建的一部分

如何使用来自另一个构建作业的参数?

使用 Python 运行 Talend 作业

Talend:在迭代中触发子作业

tOracleOutput组件中的Talend ETL作业错误

执行存储过程 Talend

我可以使用其 Java 源代码创建一个简单的 Talend 作业吗?

我可以在一个Talend作业中使用两次Excel文件吗?

等待一个请求完成,然后在 angularjs 中执行另一个请求

如何忽略talend中特定列中包含null的行?

如何从TALEND中的单个作业运行多个作业

从csv读取插入查询并在TALEND中的db上执行

如何在tsystem组件talend中执行多个shell命令

在 Perl 中执行包含引号的 shell 命令

表中的多行包含另一个表中的值

Talend中的增量模式

在另一个调用使用php执行长时间作业时制作一个ajax(Laravel)

Talend作业可能存在锁定问题

在 django REST framework 上的过滤获取请求中包含来自另一个引用模型的属性

我们如何计算Talend作业中的行数

Talend:更新子作业中的全局变量

捕获来自另一个进程的http请求