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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -