Maven project build error - Studio data integration

One Star

Maven project build error - Studio data integration

Hi 
I receive following error on running jobs in studio -
Errors running builder 'Maven Project Builder' on project '.Java’.
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.7
Plugin org.apache.maven.plugins:maven-resour ces-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.7
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.7
Plugin org.apache.maven.plugins:maven-resources-plugin:2.7 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.7
After I click ok and re-run the job, it throws this error -
"Starting job AddPayday at 12:50 04/08/2015.
Error: Could not find or load main class payslips.addpayday_0_1.AddPayday

Job AddPayday ended at 12:50 04/08/2015. "
Can anybody suggest what could be possible resolution for above. 
Environment is Windows-7 32 bit machine with Java 1.7 version. I have attached the Java versions and path output from command prompt.

TALEND version is -
Talend Open Studio for Data Integration
Version: 6.0.0
Build id: RC1
Many Thanks.
Community Manager

Re: Maven project build error - Studio data integration

Hi  
RC1 is a testing version, I would suggest you to download the latest stable version TOS_DI-20150702_1326-V6.0.0. and use it.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Maven project build error - Studio data integration

Hi Shong,
Thanks. I have now installed V6.0.
Now Maven error is resolved but still get this -
Starting job AddPayday at 13:32 05/08/2015.
Error: Could not find or load main class newpayslip.addpayday_0_1.AddPayday
Job AddPayday ended at 13:32 05/08/2015. �
I have referred TALEND support page where the above issue is discussed 
 - the installation path(C:\TOS\TOS_DI-20150702_1326-V6.0.0�) has no space and JDK is 1.7. 
 - Also I have set Installed JRE in TALEND to jdk1.7/jre.
Appreciate your help.
Regards,
Shrini
Seventeen Stars

Re: Maven project build error - Studio data integration

I had the same problem and have solved this:
http://jan-lolling.de/talend/howtos/mac_jre_settings/set-jdk-for-talend-open-studio-on-a-mac.html
It is actually written for the Mac but you can apply it easily to a Windows machine.
One Star

Re: Maven project build error - Studio data integration

Thanks Jlolling. 
I tried it but no luck.
Any other clues?
Seventeen Stars

Re: Maven project build error - Studio data integration

Dies the path to your studio and workspace contains spaces - this will not work.
One Star

Re: Maven project build error - Studio data integration

No there are no spaces in installation path or workspace.
C:\TOS\TOS_DI-20150702_1326-V6.0.0\workspace\