camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <claus.ib...@gmail.com>
Subject Re: Error loading spring camel context (type mismatch)
Date Mon, 27 Aug 2012 12:36:15 GMT
Hi

You got other pieces of stacktrace etc with that type missmatch. I
couldn't see that from the pasted stacktrace

On Mon, Aug 27, 2012 at 1:55 PM, nico <nicosommi@gmail.com> wrote:
> Yes sure,
>
> Spring jar versions: 3.0.7.RELEASE
> Camel jar versions: 2.9.0.fuse-7-061
>
> Stacktrace:
> java.lang.IllegalStateException: Failed to load ApplicationContext
>         at
> org.springframework.test.context.TestContext.getApplicationContext(TestContext.java:308)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.springframework.test.context.support.DependencyInjectionTestExecutionListener.injectDependencies(DependencyInjectionTestExecutionListener.java:109)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.springframework.test.context.support.DependencyInjectionTestExecutionListener.prepareTestInstance(DependencyInjectionTestExecutionListener.java:75)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:321)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:211)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:287)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)[junit-4.9.jar:]
>         at
> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:289)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:231)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:48)[junit-4.9.jar:]
>         at
> org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)[junit-4.9.jar:]
>         at
> org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)[junit-4.9.jar:]
>         at
> org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)[junit-4.9.jar:]
>         at
> org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)[junit-4.9.jar:]
>         at
> org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)[junit-4.9.jar:]
>         at
> org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)[junit-4.9.jar:]
>         at
> org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.junit.runners.ParentRunner.run(ParentRunner.java:292)[junit-4.9.jar:]
>         at
> org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:174)[spring-test-3.0.7.RELEASE.jar:3.0.7.RELEASE]
>         at
> org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)[file:/home/g512/.eclipse/625779543/configuration/org.eclipse.osgi/bundles/479/1/.cp/:]
>         at
> org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)[file:/home/g512/.eclipse/625779543/configuration/org.eclipse.osgi/bundles/478/1/.cp/:]
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)[file:/home/g512/.eclipse/625779543/configuration/org.eclipse.osgi/bundles/478/1/.cp/:]
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)[file:/home/g512/.eclipse/625779543/configuration/org.eclipse.osgi/bundles/478/1/.cp/:]
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)[file:/home/g512/.eclipse/625779543/configuration/org.eclipse.osgi/bundles/478/1/.cp/:]
>         at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)[file:/home/g512/.eclipse/625779543/configuration/org.eclipse.osgi/bundles/478/1/.cp/:]
>
>
>
> --
> View this message in context: http://camel.465427.n5.nabble.com/Error-loading-spring-camel-context-type-mismatch-tp5718099p5718132.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Mime
View raw message