I m trying to define a Camel context in my Grails application.
resource.groovy:
xmlns camel: http://camel.apache.org/schema/spring
camel {
camelContext(id: camelContext ) {
}
}
Results in a stacktrace containing:
2010-02-03 13:24:42,209 [main] ERROR spring.GrailsRuntimeConfigurator - [RuntimeConfiguration] Unable to load beans from resources.groovy org.codehaus.groovy.runtime.InvokerInvocationException: java.lang.NoClassDefFoundError: org/apache/camel/spi/ManagementStrategy
The strange thing is that ManagementStrategy is in lib/camel-core-2.1.0.jar. I m not that familiar with neither Spring nor Camel so any suggestions are welcome. Can this be a classloader issue?