Hello,
I’m trying to integrate a Talend Job in my app. The Talend Job is generated in a directory with all .jar components with Talend Open Studio.
I have change the Gradle file to add all .jar needed in my core module.
configure(coreModule) {
configurations {
jdbc
dbscripts
}
dependencies {
compile(globalModule)
compileOnly(servletApi)
jdbc(postgres)
testRuntime(postgres)
compile fileTree(include: ['*.jar'], dir: 'Talend') // <== Here
}
With this configuration I can acces my Job Talend Class and run the job in the service Class code.
But When I start my server I have this error
java.lang.NoSuchMethodError: org.springframework.beans.factory.xml.XmlReaderContext.getEnvironment()Lorg/springframework/core/env/Environment;
I guess is a dependencies issue.
Thank you.