Starting Talend CommandLine and executing a command, results in the following error message:
java -Xms64m -Xmx1024m -Dfile.encoding=utf-8 -jar plugins/org.eclipse.equinox.launcher_1.5.200.v20180922-1751.jar --disableShellInput -nosplash -application org.talend.commandline.CommandLine -consoleLog -data commandline-workspace startServer -p 8002 !ENTRY org.talend.dataservice.commandline 4 0 2020-03-09 10:47:08.025 !MESSAGE FrameworkEvent ERROR !STACK 0 org.osgi.framework.BundleException: Could not resolve module: org.talend.dataservice.commandline [414] Unresolved requirement: Require-Bundle: org.talend.commandline at org.eclipse.osgi.container.Module.start(Module.java:451) at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incSta rtLevel(ModuleContainer.java:1783)
Root Cause :
The error log indicates that the CommandLine OSGi folder is corrupt
"org.osgi.framework.BundleException: Could not resolve module: org.talend.dataservice"
Solution:
Perform one of the following workarounds to resolve this issue:
Workaround 1
Navigate to the CommandLine installation directory, cmdline_installation_dir}/studio/configuration/, and delete the org.eclipse.osgi, org.eclipse.update, and org.talend.configurator folders.
Create a new workspace.
Relaunch the CommandLine by pointing it to the new workspace, for example, -data Commandline-workspace-new.
Workaround 2
Verify that you are using a compatible Java version, and update it if necessary.
Verify the JAVA_HOME and PATH variables are set correctly on the platform hosting the CommandLine.
Recommended Comments
There are no comments to display.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now