java - Liferay and portlet for talend job -
i have simple talend job. in job try add new article, invoke addarticle() method. build job, import liferay , still have same problem. when click execute job in liferay, jobs have status: failure. when open job history tab see error:
java.lang.reflect.invocationtargetexception 2 @ sun.reflect.nativemethodaccessorimpl.invoke0(native method) 3 @ sun.reflect.nativemethodaccessorimpl.invoke(unknown source) 4 @ sun.reflect.delegatingmethodaccessorimpl.invoke(unknown source) 5 @ java.lang.reflect.method.invoke(unknown source) 6 @ com.savoirfairelinux.portlet.talend.util.talendprocessthread.run(talendprocessthread.java:119) 7caused by: java.lang.nosuchmethoderror: com.liferay.portlet.journal.service.journalarticlelocalserviceutil.addarticle(jjjjljava/lang/string;zdljava/util/map;ljava/util/map;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;ljava/lang/string;iiiiiiiiiiziiiiizzzljava/lang/string;ljava/io/file;ljava/util/map;ljava/lang/string;lcom/liferay/portal/service/servicecontext;)lcom/liferay/portlet/journal/model/journalarticle; 8 @ routines.liferayjournalarticlesutil.testaddarticle(liferayjournalarticlesutil.java:149) 9 @ local_project.console_output_0_1.console_output.trowgenerator_1process(console_output.java:699) 10 @ local_project.console_output_0_1.console_output.runjobintos(console_output.java:975) 11 ... 5 more
i know wrong argument list don't know why. try many combination argument , stil have same error.
this link zip job: download
assuming you're using liferay 6.2: which addarticle method try call? compare 1 interfaces available , should able find problem yourself. error message quite precise in describing missing method. use existing 1 , script should work - @ least regards problem.
Comments
Post a Comment