You are not logged in.

Unanswered posts



Important! This site has been replaced. All content here is read-only. Please visit our brand-new community at https://community.talend.com/. We look forward to hearing from you there!



#1 2017-01-04 11:43:38

sebast
Member
146 posts

sebast said:

cMQConnectionFactory not working together with cTalendJob component

I am using Talend 6.2.1. 
I created a simple route with simple job inside. 
It usess cMQConnectionFactory component alongside with cTalendJob and with cTimer. 
When I run the Route I get runtime error which I don't know how to solve. Do you maybe know what is the issue here. 
In the cMQConnectionFactory component I have selected ActiveMQ.

The error is:

Exception in thread "main" java.lang.NoSuchMethodError: org.springframework.core.MethodParameter.getContainingClass()Ljava/lang/Class;
	at org.springframework.beans.factory.config.DependencyDescriptor.<init>(DependencyDescriptor.java:91)
	at org.springframework.beans.factory.config.DependencyDescriptor.<init>(DependencyDescriptor.java:77)
	at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:813)
	at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:741)
	at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:185)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1137)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1040)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:504)
[statistics] connecting to socket on port 3517
[statistics] connected
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:342)
	at org.apache.camel.spring.spi.SpringInjector.newInstance(SpringInjector.java:39)
	at org.apache.camel.impl.DefaultComponentResolver.resolveComponent(DefaultComponentResolver.java:87)
	at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:401)
	at org.apache.camel.impl.DefaultCamelContext.getComponent(DefaultCamelContext.java:388)
	at org.apache.camel.impl.DefaultCamelContext.getEndpoint(DefaultCamelContext.java:560)
	at org.apache.camel.builder.BuilderSupport.endpoint(BuilderSupport.java:363)
	at salesratiopackages1.test4_0_1.test4.configure(test4.java:74)
	at org.apache.camel.builder.RouteBuilder.checkInitialized(RouteBuilder.java:403)
	at org.apache.camel.builder.RouteBuilder.configureRoutes(RouteBuilder.java:343)
	at org.apache.camel.builder.RouteBuilder.addRoutesToCamelContext(RouteBuilder.java:326)
	at org.apache.camel.impl.DefaultCamelContext$1.call(DefaultCamelContext.java:837)
	at org.apache.camel.impl.DefaultCamelContext$1.call(DefaultCamelContext.java:834)
	at org.apache.camel.impl.DefaultCamelContext.doWithDefinedClassLoader(DefaultCamelContext.java:2831)
	at org.apache.camel.impl.DefaultCamelContext.addRoutes(DefaultCamelContext.java:834)
	at org.apache.camel.main.MainSupport.postProcessCamelContext(MainSupport.java:418)
	at org.apache.camel.main.MainSupport.postProcessContext(MainSupport.java:391)
	at org.apache.camel.main.Main.doStart(Main.java:124)
	at org.apache.camel.support.ServiceSupport.start(ServiceSupport.java:61)
	at org.apache.camel.main.MainSupport.run(MainSupport.java:124)
	at salesratiopackages1.test4_0_1.test4.run(test4.java:154)
	at salesratiopackages1.test4_0_1.test4.runJobInTOS(test4.java:216)
	at salesratiopackages1.test4_0_1.test4.main(test4.java:186)

Inside of the job:
mini_Pasted-image-at-2017_01_04-11_17-AM.png 

Inside of the Route:
mini_Pasted-image-at-2017_01_04-11_16-AM.png

Last edited by sebast (2017-01-04 13:20:14)

Offline

#2 2017-01-10 10:09:36

xdshi
Talend Team


xdshi said:

Re: cMQConnectionFactory not working together with cTalendJob component

Hi sebast,
Sorry for delay! We have redirected your issue to ESB expert and then come back to you as soon as we can.
Best regards
Sabrina


What we can do is to make sure that Talend will be your best choice!

Offline

#3 2017-02-18 07:28:54

Gelo
Guest

Gelo said:

Re: cMQConnectionFactory not working together with cTalendJob component

Hi,

I get the same error and issue when running the route. Has this been resolved?

#4 2017-02-22 07:21:57

sebast
Member
146 posts

sebast said:

Re: cMQConnectionFactory not working together with cTalendJob component

I didn't see this error in 6.3

Last edited by sebast (2017-02-22 07:22:22)

Offline

Board footer

Talend Contributor Agreement - Talend Website Privacy Policy