spring - Using Camel 2.1 with Grails 1.2.1 - Classloading problem -


I am trying to define a camel reference in my Grails application.

resource.groovy:

  xmlns camel: 'http://camel.apache.org/schema/spring' camel {camelContext ( ID: 'camelContext') {}}  

results in a stacketrace:

2010-02-03 13: 24: 42,209 [main] Error spring.GrailsRuntimeConfigurator - [RuntimeConfiguration] resources.groovy org.codehaus.groovy.runtime.InvokerInvocationException: Unable to load bean: java.lang.NoClassDefFoundError: org / Apache / Camel / SPI / ManagementStrategy

The strange thing is that ManagementStrategy is in lib / camel-core-2.1.0.jar. I am neither familiar with spring nor camel, so any suggestions are welcome, can this be a classloader issue?

Release Notes for Apache Camel 2.1

with new .jar dependencies A section is a commons-manager on the classpath. Requires jer.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -