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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Excel Metadata Creation Error "Could not find or load main class"

When creating metadata for an Excel or flat file, I receive the following error during preview (see screenshot)
"Error: Could not find or load main class test.shadowfileinputtodelimitedoutput_0_1.ShadowFileInputToDelimitedOutput"
Environment:
- Windows 8.1
- Talend version  5.6.1.20141207_1330. installed on a path without any blanks
- Java version jdk1.7.0_79, installed directory "C:\JDK7ForTalend"
- JAVA_HOME points to "C:\JDK7ForTalend" (having learned from related issue posts, that this is important)
Any idea how to resolve that?
Many thanks in advance
Issue screenshot:

0683p000009MDpn.png
Btw. the preview worked quite well on the preceeding tab, where the Excel file is selected.
Labels (3)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Problem solved. Java SDK 7 must be installed and JAVA_HOME environment variable must be set BEFORE installing TOS.
Having fixed those prerequisites and resinstalling TOS solved the issue.
It would be helpful to get some hint on that issue during the installation process (ok, I admit reading "installation prerequisites" would have helped...")

View solution in original post

1 Reply
Anonymous
Not applicable
Author

Problem solved. Java SDK 7 must be installed and JAVA_HOME environment variable must be set BEFORE installing TOS.
Having fixed those prerequisites and resinstalling TOS solved the issue.
It would be helpful to get some hint on that issue during the installation process (ok, I admit reading "installation prerequisites" would have helped...")