[ https://issues.apache.org/activemq/browse/CAMEL-1092?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=47508#action_47508 ]
William Tam commented on CAMEL-1092: ------------------------------------ Also, you don't want to have camel-osgi jar in your classpath, if you are using Spring to inject CamelContext but not running camel in OSGi container. Otherwise, the org.apache.camel.osgi.CamelNamespaceHandler takes over and it tries to load classes from OSGi packages. > core\src\main\java\org\apache\camel\util\ResolverUtil.java has dependency on > OSGi Bundle class > ---------------------------------------------------------------------------------------------- > > Key: CAMEL-1092 > URL: https://issues.apache.org/activemq/browse/CAMEL-1092 > Project: Apache Camel > Issue Type: Bug > Components: camel-core > Affects Versions: 1.5.1 > Reporter: Seumas Soltysik > Assignee: Hadrian Zbarcea > Fix For: 1.5.1 > > > When running a Camel router scenario, I am getting a ClassNotFoundError for > the OSGi Bundle class from the ResolverUtil class. It seems like this code > should be in the camel-osgi bundle or perhaps should be more reflection based. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.