
Anonymous
Not applicable
2015-08-26
07:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
[resolved] ERROR: '&' is an invalid character in a configuration name
Hi there,
While constructing a job on TOS_DI 6.0.0, I'm facing the following error :
follows a long stack of "at ..." and at some point :
and some more "at...".
I used to get my workspace located in a path where I could find a & in a subdirectory name. Thought it was coming from this.
I switched the workspace to another path without directories using & in their names.
Still got the same error message.
By exporting the job I found some remaining mentions to the old path (with a directory using & in its name) in my job's .item file, which I corrected and now, still exporting the job I find no mention to the old path anymore.
Restarted TOS_DI, but the job construction still fails with the same error message.
What's going wrong ? Where should I check to correct it and be able to construct a standalone job ?
While constructing a job on TOS_DI 6.0.0, I'm facing the following error :
ERROR: '&' is an invalid character in a configuration name
org.eclipse.core.runtime.CoreException: '&' is an invalid character in a configuration name
at org.eclipse.debug.internal.core.LaunchConfigurationType.newInstance(LaunchConfigurationType.java:475)
follows a long stack of "at ..." and at some point :
Caused by: java.lang.IllegalArgumentException: '&' is an invalid character in a configuration name
at org.eclipse.debug.internal.core.LaunchManager.isValidLaunchConfigurationName(LaunchManager.java:2710)
at org.eclipse.debug.internal.core.LaunchConfigurationType.newInstance(LaunchConfigurationType.java:473)
... 69 more
ERROR: Can't create maven command launcher.
java.lang.Exception: Can't create maven command launcher.
and some more "at...".
I used to get my workspace located in a path where I could find a & in a subdirectory name. Thought it was coming from this.
I switched the workspace to another path without directories using & in their names.
Still got the same error message.
By exporting the job I found some remaining mentions to the old path (with a directory using & in its name) in my job's .item file, which I corrected and now, still exporting the job I find no mention to the old path anymore.
Restarted TOS_DI, but the job construction still fails with the same error message.
What's going wrong ? Where should I check to correct it and be able to construct a standalone job ?
351 Views
3 Replies

Anonymous
Not applicable
2015-08-26
04:29 PM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I just reinstall TOS DI from scratch removing all the configs I could find here and there, and changing the workspace directory.
Then I got an error with maven :
Don't know why java-7 when I configured Java to use java 8 Oracle (in the directory of which I find tools.jar...),
and :
So I just removed java-7-openjdk-amd64 from the list of Installed JREs in the Java Preferences...
And it turned to build the job!
Later I'll have to check the standalone job, not right now...
Then I got an error with maven :
ERROR: Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project routines: Fatal error compiling: tools.jar not found: /usr/lib/jvm/java-7-openjdk-amd64/jre/../lib/tools.jar ->
Don't know why java-7 when I configured Java to use java 8 Oracle (in the directory of which I find tools.jar...),
and :
$ java -version
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
So I just removed java-7-openjdk-amd64 from the list of Installed JREs in the Java Preferences...
And it turned to build the job!
Later I'll have to check the standalone job, not right now...
351 Views

Anonymous
Not applicable
2015-08-27
07:19 AM
Author
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi mpintor,
So far, talend don't support for open JDK.
Please see document about:TalendHelpCenter:Compatible Platforms and Java environments.
Feel free to let us know if there is any futher help we can give.
Best regards
Sabrina
So far, talend don't support for open JDK.
Please see document about:TalendHelpCenter:Compatible Platforms and Java environments.
Feel free to let us know if there is any futher help we can give.
Best regards
Sabrina
351 Views

Creator
2021-03-31
05:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Just to give another solution to this problem :
Be sure that the current GIT branches you're working on don't include the '&' character, it creates the same error
ERROR: Can't create maven command launcher.
351 Views
