Unable to publish an artifact to Talend Cloud? - Cloud - 8.0

Unable to publish an artifact to Talend Cloud?

Version
Cloud
8.0
Language
English
Product
Talend Cloud
Talend Data Fabric
Module
Talend Studio
Content
Installation and Upgrade
Last publication date
2024-02-06

Issue description

After right-clicking a Job and selecting Publish To Cloud in Talend Studio, there is no pop-up information and the Job is not successfully published. Checking the log, you may see the following:

java.lang.NoClassDefFoundError: org/talend/designer/components/ipaas/actions/wizards/AbstractPublishWizardPage$WorkspaceLabelProvider
at org.talend.designer.components.ipaas.actions.wizards.AbstractPublishWizardPage.createControl(AbstractPublishWizardPage.java:109)

Possible reason

The cause for this issue is that some Java class files required for the publish action are missing. Taking Talend 7.2.1 as an example, there should be around 28 Java class files in the \plugins\org.talend.designer.components.ipaas_7.2.1.xxx\org\talend\designer\components\ipaas\actions\wizards folder. Otherwise, it means that the Talend Studio package was not unzipped successfully, and such an issue occurs most likely because the Talend Studio installation path is too long.

Solution

Unzip the Talend Studio package to a folder that makes the installation path as short as possible and check that the above-mentioned folder contains the right number of Java class files.