Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The exception can cause Camel JAXB fallback converter loading error.
Caused by: org.apache.camel.TypeConverterLoaderException: Failed to load type converters because of: Cannot load type converters using OSGi bundle: 108 at org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader.load(Activator.java:280) at org.apache.camel.core.osgi.OsgiTypeConverter.addingService(OsgiTypeConverter.java:63) ... 47 more Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.apache.camel.converter.jaxb.FallbackTypeConverter': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.apache.camel.converter.jaxb.FallbackTypeConverter' is defined at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:331) at org.apache.camel.spring.spi.SpringInjector.newInstance(SpringInjector.java:39) at org.apache.camel.impl.osgi.Activator$BaseResolver.createInstance(Activator.java:402) at org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader$Loader.load(Activator.java:363) at org.apache.camel.impl.osgi.Activator$BundleTypeConverterLoader.load(Activator.java:278) ... 48 more Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.apache.camel.converter.jaxb.FallbackTypeConverter' is defined at org.apache.servicemix.common.xbean.SimpleBeanFactory.getAliases(SimpleBeanFactory.java:48) at org.springframework.beans.factory.support.AbstractBeanFactory.getAliases(AbstractBeanFactory.java:612) at org.springframework.aop.framework.autoproxy.BeanNameAutoProxyCreator.getAdvicesAndAdvisorsForBean(BeanNameAutoProxyCreator.java:89) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:359) at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:322) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:407) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1461) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) ... 54 more