One Star

Erreur : impossible de trouver ou charger la classe principale teste.m

j'aurai ce problème lorsque j'exécute mon Job
8 REPLIES
Community Manager

Re: Erreur : impossible de trouver ou charger la classe principale teste.m

Hi
This forum is meant to be international. Please post your question with details again in English.
Thank you!
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Erreur : impossible de trouver ou charger la classe principale teste.m

Hi,
I'm using TOS r74687-V5.0.1. I'm trying to execute basic jobs. But i always have a red cross on my job and the message Error : impossible de trouver ou charger la classe principale testroutine.myjob.
Please i need help.
Thanks

Re: Erreur : impossible de trouver ou charger la classe principale teste.m

Hello, do you have any references to this routine on your job ? What kind of components are you using ?
One Star

Re: Erreur : impossible de trouver ou charger la classe principale teste.m

Hello all there, I had the same issue.
Searching the forge, I found this post
It solved the problem for me
I dont figure out why the "built-in" default workspace produce this trouble.
Hoping the new created one will not act later the same way
Regards
One Star

Re: Erreur : impossible de trouver ou charger la classe principale teste.m

I cannot see the post... It seems to be interesting for me because I think I have the same issue.
Please let me know where is the post with the solution
Moderator

Re: Erreur : impossible de trouver ou charger la classe principale teste.m

Hi maurick,
Could you please give us more information about your job? Do you create a custom routine in your job?
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Five Stars

Re: Erreur : impossible de trouver ou charger la classe principale teste.m

Hi,

 

I'm using Talend ESB OS,

When I try to deploy my OSGI bundle ( The Master Job )  in Karaf, I got this error.

 ERREUR : Impossible de trouver ou charger la classe principale [Porject_NAME].[child_JOB_NAME].

     -It run well in the default container.

     -It run well in Karaf, when I deploy only the child JOB.

Best regards,

Sami

   

Moderator

Re: Erreur : impossible de trouver ou charger la classe principale teste.m

Hello,

There is a "could not find or load the main class " exception.What does your master job look like? Does it start with a tRESTRequest or tESBProviderRequest?

Did you checkout option " Use an independent process to run subjob" in tRunJob component? More information will be preferred.

Best regards

Sabrina

 

 

--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.