Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Zurich on Sept 24th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Build Route results in error

Hi Everyone, 

 

I am trying to build a route using ESB microservice and I get this error. Any inputs please ?

 

java.lang.Exception: [ERROR] Failed to execute goal on project MQ_TO_DB_Usecase_Proj: Could not resolve dependencies for project org.example.local_project.job:MQ_TO_DB_Usecase_Proj:jar:0.1.0: Failed to collect dependencies at log4j:log4j:jar:1.2.17: Failed to read artifact descriptor for log4j:log4j:jar:1.2.17: Could not transfer artifact log4j:log4j0683p000009MAB6.pngom:1.2.17 from/to central (http://repo.maven.apache.org/maven2😞 Connection refused: connect -> [Help 1]
[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/DependencyResolutionException

at org.talend.designer.maven.launch.MavenCommandLauncher.execute(MavenCommandLauncher.java:321)
at org.talend.designer.maven.launch.MavenPomCommandLauncher.execute(MavenPomCommandLauncher.java:57)
at org.talend.designer.maven.tools.BuildCacheManager.build(BuildCacheManager.java:221)
at org.talend.designer.runprocess.maven.MavenJavaProcessor.build(MavenJavaProcessor.java:376)
at org.talend.designer.runprocess.ProcessorUtilities.generateBuildInfo(ProcessorUtilities.java:809)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1138)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:915)
at org.talend.designer.runprocess.ProcessorUtilities.generateCode(ProcessorUtilities.java:1696)
at org.talend.repository.ui.wizards.exportjob.handler.BuildJobHandler.generateJobFiles(BuildJobHandler.java:167)
at org.talend.repository.ui.wizards.exportjob.handler.AbstractBuildJobHandler.prepare(AbstractBuildJobHandler.java:404)
at org.talend.esb.microservice.maven.handler.BuildMicroServiceHandler.prepare(BuildMicroServiceHandler.java:97)
at org.talend.camel.designer.ui.wizards.JavaCamelJobScriptsExportWSWizardPage.finish(JavaCamelJobScriptsExportWSWizardPage.java:496)
at org.talend.camel.designer.ui.wizards.JobCamelScriptsExportWizard.performFinish(JobCamelScriptsExportWizard.java:69)
at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:853)
at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:438)
at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at org.talend.camel.designer.ui.ExporCameltJobScriptAction.doRun(ExporCameltJobScriptAction.java:80)
at org.talend.repository.ui.actions.AContextualAction$2.run(AContextualAction.java:673)
at org.talend.repository.RepositoryWorkUnit.executeRun(RepositoryWorkUnit.java:99)
at org.talend.core.repository.model.AbstractRepositoryFactory.executeRepositoryWorkUnit(AbstractRepositoryFactory.java:258)
at org.talend.repository.localprovider.model.LocalRepositoryFactory.executeRepositoryWorkUnit(LocalRepositoryFactory.java:3495)
at org.talend.core.repository.model.ProxyRepositoryFactory.executeRepositoryWorkUnit(ProxyRepositoryFactory.java:2265)
at org.talend.repository.ui.actions.AContextualAction.run(AContextualAction.java:686)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.talend.rcp.intro.Application.start(Application.java:265)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
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:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)

Labels (1)
3 Replies
nfz11
Creator III
Creator III

There is a network problem connecting to the Maven repository to resolve Java library dependencies in Talend Studio.  Is your network setup correctly.  Can you get to http://repo.maven.apache.org/maven2 in a browser?

Anonymous
Not applicable
Author

Hi, Thank you for your response! 

 

I am able access this link - http://repo.maven.apache.org/maven2/

But have a doubt, if I am able to from the talend studio. Is there anywhere I can check that on the talend studio ?

 

Thank you!

nzeggari
Contributor
Contributor

I am facing the same issue, Can you please tell me how can i setup: (http://repo.maven.apache.org/maven2) and change it to https.