One Star

[resolved] 'no main manifest attribute' for talend job jar file

I exported my talend job as a jar file by right click on job => export job.
I tried to run the file through cmd command. 'java -jar path'
But i am getting error as 'no main manifest attribute'. How can i resole it? Is there any thing i needs to be careful about while exporting as jar file?
3 REPLIES
One Star

Re: [resolved] 'no main manifest attribute' for talend job jar file

I got solution.I was supposed to run bat file.
Moderator

Re: [resolved] 'no main manifest attribute' for talend job jar file

Hi dijodavis,

Glad you could solve the issue. Can you click the "Set this topic as resolved"?
This way, other users will be informed that this thread has been resolved.
Many thanks

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.
One Star

Re: [resolved] 'no main manifest attribute' for talend job jar file

But how to make jar file work when we run java -jar <jar name>>