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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

NoClassDefFoundError : MissingMainXMLComponentFileException

Hello,
I tried running TalenD Data Integration for the first time.
I tried to import the Demo project that is already present.
However, it threw an error : -
java.lang.NoClassDefFoundError: org/talend/designer/codegen/components/model/MissingMainXMLComponentFileException
at org.talend.designer.codegen.components.model.ComponentsService.getComponentsFactory(ComponentsService.java:46)
at org.talend.repository.model.ComponentsFactoryProvider.getInstance(ComponentsFactoryProvider.java:60)
at org.talend.core.CoreService.componentsReset(CoreService.java:249)
at org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1755)
at org.talend.repository.ui.login.LoginDialog$1.run(LoginDialog.java:360)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.ClassNotFoundException: org.talend.designer.codegen.components.model.MissingMainXMLComponentFileException
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 6 more

I set JAVA_HOME in environmen variables as :
"C:\Program Files\Java\jdk1.7.0_45"
I put the quotes on since there was a space in 'Program Files'.
I also tried single quotes.
But the error still comes. Where am I going wrong here ? And how do I correct this problem.
I have Java - when I run 'cmd' and type java-version .. there is a proper output... the appropriate java version is used.
I have only one jdk and jre on my machine and no other java version exists.
Kindly advise,
Regards,
Karan
Labels (3)
8 Replies
Anonymous
Not applicable
Author

Hi,
java.lang.ClassNotFoundException

Usually 2 types of problems causing this error:
1. Spaces or illegal character in the Talend installation path
2. A corrupt/incomplete Java installation
Please reinstall your studio and avoid these 2 types of problems mentioned above to see if it is working?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello ,
Thanks for the reply.
Usually 2 types of problems causing this error:
1. Spaces or illegal character in the Talend installation path

No luck here, I tried renaming the parent folder, copied it to another directory on my drive, the pathname does not have any spaces now any illegal characters. The same error appears.
2. A corrupt/incomplete Java installation

I removed JDK and JRE from my system from Add/Remove Programs. I took the setup and reinstalled.

I reinstalled both the JDK and JRE. The installation completed successfully, I am pretty sure of that as I validated it.
Still, after running TalenD, while trying to open the demo project, or trying to create a new project - I am getting the same error.
Any inputs ?
Kindly advise ,
Regards,
Karan
Anonymous
Not applicable
Author

Hi,
What's your OS and jdk version 32 bit/64bit? What the TalenD Data Integration product build version are you using? How did you unzip it?
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello ,
Thank you for your help ,
OS is Windows 7 - 32 Bit.
JRE 7 - 32 Bit JVM

Talend Data Integration Build Version - v5.3.1
Downloaded it, unzipped it using 7z and copied the entire folder from a network drive onto my local drive.
Then tried starting the EXE for the 32 bit system.
After importing the demo project, I tried to open it, but it threw the error I specified in the first post.
I have created a JAVA_HOME environment variable pointing to "C:\Program Files\Java\jdk1.7.0_45".
Is this correct ? This was my understanding as per the docs in the web site.
I went to CMD and typed 'Java -version' and it works.. the JVM is recognizable...
Have I missed out on something ?
Regards,
Karan
Anonymous
Not applicable
Author

Hi,
downloaded it, unzipped it using 7z and copied the entire folder from a network drive onto my local drive.

Did you download your Talend Data Integration Build Version - v5.3.1 product from Talend Official Website? http://www.talend.com/download/data-integration
Is your installation path too long? Unzip it to a root drive, e.g. 'D:\Talend-5.3.1\studio\.
Is it still not working when you create a new project instead of importing a demo? Standard Sun JDK? Is there any more error log which is located in <Talend Studio installation path>/workspace/.metadata/.log .
Best regards
Sabrina
Anonymous
Not applicable
Author

Hello ,
Did you download your Talend Data Integration Build Version - v5.3.1 product from Talend Official Website? http://www.talend.com/download/data-integration

Yes. This is the site I went to.
Is your installation path too long? Unzip it to a root drive, e.g. 'D:\Talend-5.3.1\studio\.

I unzipped it into another folder and tried, still no luck...
I unzipped to :- "C:\Karan\TalenD"
Is it still not working when you create a new project instead of importing a demo?
The error appears if I try to create a new

To see the whole post, download it here
OriginalPost.pdf
Anonymous
Not applicable
Author

Hello ,
Any updates.. ?
Request your assistance here...
Regards.
Anonymous
Not applicable
Author

Hi,
Caused by: java.lang.ClassNotFoundException: org.talend.designer.esb.webservice.WebServiceComponentPlugin

Sorry for delay.
From the error message, it indicates some plug are missing or not loaded, it seems the product is not installed completely. Try to re-unzip the archive file(Can you use WinRAR to do it) again and notice any error occurs during the installation process.
Sorry for any inconvenience.
Best regards
Sabrina