The problem integration spring with hibernate still. i hope iocanel could help me...

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

The problem integration spring with hibernate still. i hope iocanel could help me...

stream
Hi...
i've tried to integrate spring3 with hiberante, i according to means in this site
http://iocanel.blogspot.com/2010/07/wicket-spring-3-jpa2-hibernate-osgi.html

i just download the file of tar and mvn clear install  as said as site.
then deploy the jar to the karaf.  then http://localhost:8181/web-tier/. but didn't get anything,
attach the log file.
someone could help me...


Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:546)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[171:org.springframework.web:3.0.2.RELEASE]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:168)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:164)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.addEventListener(HttpServiceContext.java:161)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addEventListener(JettyServerImpl.java:235)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addEventListener(ServerControllerImpl.java:276)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addEventListener(ServerControllerImpl.java:127)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerEventListener(HttpServiceStarted.java:286)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerEventListener(HttpServiceProxy.java:133)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:276)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:561)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)[karaf.jar:]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.doPublish(WebXmlObserver.java:300)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:153)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:466)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 62 more
Caused by: java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:294)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:476)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:448)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:217)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:461)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 66 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found from bundle [net.iocanel.web-tier]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[138:org.springframework.osgi.core:1.2.1]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291)[160:org.springframework.core:3.0.2.RELEASE]
        ... 72 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found by net.iocanel.web-tier [184]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.8.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)[org.apache.felix.framework-3.0.8.jar:]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[138:org.springframework.osgi.core:1.2.1]
        ... 76 more
20:51:36,838 | ERROR | raf-2.2.0/deploy | RegisterWebAppVisitorWC          | internal.RegisterWebAppVisitorWC  283 | 71 - org.ops4j.pax.web.pax-web-extender-war - 1.0.1 | Registration exception. Skipping.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:546)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[171:org.springframework.web:3.0.2.RELEASE]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:168)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:164)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.addEventListener(HttpServiceContext.java:161)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addEventListener(JettyServerImpl.java:235)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addEventListener(ServerControllerImpl.java:276)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addEventListener(ServerControllerImpl.java:127)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerEventListener(HttpServiceStarted.java:286)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerEventListener(HttpServiceProxy.java:133)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:276)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:561)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)[karaf.jar:]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.doPublish(WebXmlObserver.java:300)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:153)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:466)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 62 more
Caused by: java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:294)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:476)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:448)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:217)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:461)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 66 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found from bundle [net.iocanel.web-tier]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[138:org.springframework.osgi.core:1.2.1]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291)[160:org.springframework.core:3.0.2.RELEASE]
        ... 72 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found by net.iocanel.web-tier [184]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.8.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)[org.apache.felix.framework-3.0.8.jar:]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[138:org.springframework.osgi.core:1.2.1]
        ... 76 more
20:51:36,867 | WARN  | raf-2.2.0/deploy | log                              | .eclipse.jetty.util.log.Slf4jLog   40 | 49 - org.eclipse.jetty.util - 7.2.2.v20101205 | FAILED wicket.wicket-spring: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
20:51:36,868 | ERROR | raf-2.2.0/deploy | RegisterWebAppVisitorWC          | internal.RegisterWebAppVisitorWC  254 | 71 - org.ops4j.pax.web.pax-web-extender-war - 1.0.1 | Registration exception. Skipping.
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1218)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.servlet.ServletHandler.setFilterMappings(ServletHandler.java:1249)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.servlet.ServletHandler.addFilter(ServletHandler.java:1059)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$3.call(JettyServerImpl.java:291)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$3.call(JettyServerImpl.java:288)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addFilter(JettyServerImpl.java:287)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addFilter(ServerControllerImpl.java:291)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addFilter(ServerControllerImpl.java:142)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerFilter(HttpServiceStarted.java:322)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerFilter(HttpServiceProxy.java:155)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:244)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:570)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)[karaf.jar:]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.doPublish(WebXmlObserver.java:300)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:153)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:546)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[171:org.springframework.web:3.0.2.RELEASE]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:168)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:164)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.addEventListener(HttpServiceContext.java:161)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addEventListener(JettyServerImpl.java:235)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addEventListener(ServerControllerImpl.java:276)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addEventListener(ServerControllerImpl.java:127)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerEventListener(HttpServiceStarted.java:286)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerEventListener(HttpServiceProxy.java:133)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:276)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:561)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        ... 34 more
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:466)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 62 more
Caused by: java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:294)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:476)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:448)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:217)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:461)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 66 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found from bundle [net.iocanel.web-tier]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[138:org.springframework.osgi.core:1.2.1]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291)[160:org.springframework.core:3.0.2.RELEASE]
        ... 72 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found by net.iocanel.web-tier [184]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.8.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)[org.apache.felix.framework-3.0.8.jar:]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[138:org.springframework.osgi.core:1.2.1]
        ... 76 more
20:51:44,958 | WARN  | qtp192737931-64  | log                              | .eclipse.jetty.util.log.Slf4jLog   50 | 49 - org.eclipse.jetty.util - 7.2.2.v20101205 | /web-tier/
java.lang.IllegalArgumentException: Argument application can not be null
        at org.apache.wicket.Application.set(Application.java:222)[146:org.apache.wicket.wicket:1.4.9]
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:304)[146:org.apache.wicket.wicket:1.4.9]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516)[54:org.eclipse.jetty.security:7.2.2.v20101205]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.Server.handle(Server.java:352)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)[51:org.eclipse.jetty.http:7.2.2.v20101205]
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)[51:org.eclipse.jetty.http:7.2.2.v20101205]
        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)[50:org.eclipse.jetty.io:7.2.2.v20101205]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)[50:org.eclipse.jetty.io:7.2.2.v20101205]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)[50:org.eclipse.jetty.io:7.2.2.v20101205]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451)[49:org.eclipse.jetty.util:7.2.2.v20101205]
        at java.lang.Thread.run(Thread.java:680)[:1.6.0_24]
Reply | Threaded
Open this post in threaded view
|

Re: The problem integration spring with hibernate still. i hope iocanel could help me...

mikevan

Stream,

 

The basic issue here is that your application is attempting to wire to the net.iocanel.database.dao package, and either:

1) it cannot find the package in Karaf, or

2) the bundle attempting to wire to that package doesn't have that package included in its Import Package: section of the MANIFEST.MF file.

 

To ensure the package is being exported, from karaf type the following:

 

[hidden email]:  exports | grep net.iocanel.database.dao

 

If that doesn't return anything, then you should find the module containing that package and deploy it.  If the module is already deployed but it is not exporting that package, wrap it from the console and attempt to restart the package throwing that error.  In rare cases, you may find that even though that package is being exported, the module doesn't have the PersonDAO class file in it.  Usually this is caused by using a module whose version number is different than that cited in the tutorial.

 

The more likely issue is number 2.  You're citing that class in a spring file, and the maven-bundle-plugin doesn't inspect these files when creating your MANIFEST.MF file.  To fix this, first open up the module throwing that exception, and look at its MANIFEST.MF file.  Then, search for net.iocanel.database.dao in your Import Package section of the MANIFEST.MF file.  If it isn't there, then you'll need to modify the pom.xml file used to build that module, and add net.iocanel.database.do to the <Import-Package> section of the maven-bundle-plugin.

 

Hope that helps!


----- Original Message -----
From: "stream [via Karaf]" <[hidden email]>
To: "karafman" <[hidden email]>
Sent: Monday, March 21, 2011 8:53:08 AM
Subject: The problem integration spring with hibernate still. i hope iocanel could help me...

Hi...
i've tried to integrate spring3 with hiberante, i according to means in this site
http://iocanel.blogspot.com/2010/07/wicket-spring-3-jpa2-hibernate-osgi.html

i just download the file of tar and mvn clear install  as said as site.
then deploy the jar to the karaf.  then http://localhost:8181/web-tier/. but didn't get anything,
attach the log file.
someone could help me...


Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:546)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[171:org.springframework.web:3.0.2.RELEASE]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:168)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:164)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.addEventListener(HttpServiceContext.java:161)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addEventListener(JettyServerImpl.java:235)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addEventListener(ServerControllerImpl.java:276)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addEventListener(ServerControllerImpl.java:127)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerEventListener(HttpServiceStarted.java:286)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerEventListener(HttpServiceProxy.java:133)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:276)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:561)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)[karaf.jar:]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.doPublish(WebXmlObserver.java:300)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:153)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:466)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 62 more
Caused by: java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:294)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:476)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:448)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:217)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:461)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 66 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found from bundle [net.iocanel.web-tier]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[138:org.springframework.osgi.core:1.2.1]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291)[160:org.springframework.core:3.0.2.RELEASE]
        ... 72 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found by net.iocanel.web-tier [184]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.8.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)[org.apache.felix.framework-3.0.8.jar:]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[138:org.springframework.osgi.core:1.2.1]
        ... 76 more
20:51:36,838 | ERROR | raf-2.2.0/deploy | RegisterWebAppVisitorWC          | internal.RegisterWebAppVisitorWC  283 | 71 - org.ops4j.pax.web.pax-web-extender-war - 1.0.1 | Registration exception. Skipping.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:546)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[171:org.springframework.web:3.0.2.RELEASE]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:168)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:164)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.addEventListener(HttpServiceContext.java:161)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addEventListener(JettyServerImpl.java:235)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addEventListener(ServerControllerImpl.java:276)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addEventListener(ServerControllerImpl.java:127)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerEventListener(HttpServiceStarted.java:286)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerEventListener(HttpServiceProxy.java:133)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:276)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:561)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)[karaf.jar:]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.doPublish(WebXmlObserver.java:300)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:153)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:466)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 62 more
Caused by: java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:294)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:476)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:448)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:217)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:461)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 66 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found from bundle [net.iocanel.web-tier]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[138:org.springframework.osgi.core:1.2.1]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291)[160:org.springframework.core:3.0.2.RELEASE]
        ... 72 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found by net.iocanel.web-tier [184]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.8.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)[org.apache.felix.framework-3.0.8.jar:]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[138:org.springframework.osgi.core:1.2.1]
        ... 76 more
20:51:36,867 | WARN  | raf-2.2.0/deploy | log                              | .eclipse.jetty.util.log.Slf4jLog   40 | 49 - org.eclipse.jetty.util - 7.2.2.v20101205 | FAILED wicket.wicket-spring: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
20:51:36,868 | ERROR | raf-2.2.0/deploy | RegisterWebAppVisitorWC          | internal.RegisterWebAppVisitorWC  254 | 71 - org.ops4j.pax.web.pax-web-extender-war - 1.0.1 | Registration exception. Skipping.
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1218)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.servlet.ServletHandler.setFilterMappings(ServletHandler.java:1249)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.servlet.ServletHandler.addFilter(ServletHandler.java:1059)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$3.call(JettyServerImpl.java:291)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$3.call(JettyServerImpl.java:288)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addFilter(JettyServerImpl.java:287)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addFilter(ServerControllerImpl.java:291)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addFilter(ServerControllerImpl.java:142)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerFilter(HttpServiceStarted.java:322)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerFilter(HttpServiceProxy.java:155)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:244)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:570)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)[karaf.jar:]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.doPublish(WebXmlObserver.java:300)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:153)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:546)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[171:org.springframework.web:3.0.2.RELEASE]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:168)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:164)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.addEventListener(HttpServiceContext.java:161)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addEventListener(JettyServerImpl.java:235)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addEventListener(ServerControllerImpl.java:276)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addEventListener(ServerControllerImpl.java:127)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerEventListener(HttpServiceStarted.java:286)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerEventListener(HttpServiceProxy.java:133)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:276)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:561)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        ... 34 more
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:466)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 62 more
Caused by: java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:294)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:476)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:448)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:217)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:461)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 66 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found from bundle [net.iocanel.web-tier]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[138:org.springframework.osgi.core:1.2.1]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291)[160:org.springframework.core:3.0.2.RELEASE]
        ... 72 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found by net.iocanel.web-tier [184]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.8.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)[org.apache.felix.framework-3.0.8.jar:]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[138:org.springframework.osgi.core:1.2.1]
        ... 76 more
20:51:44,958 | WARN  | qtp192737931-64  | log                              | .eclipse.jetty.util.log.Slf4jLog   50 | 49 - org.eclipse.jetty.util - 7.2.2.v20101205 | /web-tier/
java.lang.IllegalArgumentException: Argument application can not be null
        at org.apache.wicket.Application.set(Application.java:222)[146:org.apache.wicket.wicket:1.4.9]
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:304)[146:org.apache.wicket.wicket:1.4.9]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516)[54:org.eclipse.jetty.security:7.2.2.v20101205]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.Server.handle(Server.java:352)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)[51:org.eclipse.jetty.http:7.2.2.v20101205]
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)[51:org.eclipse.jetty.http:7.2.2.v20101205]
        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)[50:org.eclipse.jetty.io:7.2.2.v20101205]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)[50:org.eclipse.jetty.io:7.2.2.v20101205]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)[50:org.eclipse.jetty.io:7.2.2.v20101205]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451)[49:org.eclipse.jetty.util:7.2.2.v20101205]
        at java.lang.Thread.run(Thread.java:680)[:1.6.0_24]


To start a new topic under Karaf - User, email [hidden email]
To unsubscribe from Karaf - User, click here.
Reply | Threaded
Open this post in threaded view
|

Re: The problem integration spring with hibernate still. i hope iocanel could help me...

iocanel
Hi Stream,

Did all the bundles you dropped in the deploy folder properly initialize?


On Mon, Mar 21, 2011 at 7:17 PM, karafman <[hidden email]> wrote:


Stream,



The basic issue here is that your application is attempting to wire to the net.iocanel.database.dao package, and either:

1) it cannot find the package in Karaf, or

2) the bundle attempting to wire to that package doesn't have that package included in its Import Package: section of the MANIFEST.MF file.



To ensure the package is being exported, from karaf type the following:



karaf@root :  exports | grep net.iocanel.database.dao



If that doesn't return anything, then you should find the module containing that package and deploy it.  If the module is already deployed but it is not exporting that package, wrap it from the console and attempt to restart the package throwing that error.  In rare cases, you may find that even though that package is being exported, the module doesn't have the PersonDAO class file in it.  Usually this is caused by using a module whose version number is different than that cited in the tutorial.



The more likely issue is number 2.  You're citing that class in a spring file, and the maven-bundle-plugin doesn't inspect these files when creating your MANIFEST.MF file.  To fix this, first open up the module throwing that exception, and look at its MANIFEST.MF file.  Then, search for net.iocanel.database.dao in your Import Package section of the MANIFEST.MF file.  If it isn't there, then you'll need to modify the pom.xml file used to build that module, and add net.iocanel.database.do to the <Import-Package> section of the maven-bundle-plugin.



Hope that helps!


----- Original Message -----
From: "stream [via Karaf]" <[hidden email]>
To: "karafman" <[hidden email]>
Sent: Monday, March 21, 2011 8:53:08 AM
Subject: The problem integration spring with hibernate still. i hope iocanel could help me...

Hi...
i've tried to integrate spring3 with hiberante, i according to means in this site
http://iocanel.blogspot.com/2010/07/wicket-spring-3-jpa2-hibernate-osgi.html

i just download the file of tar and mvn clear install  as said as site.
then deploy the jar to the karaf.  then http://localhost:8181/web-tier/ . but didn't get anything,
attach the log file.
someone could help me...


Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:546)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[171:org.springframework.web:3.0.2.RELEASE]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:168)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:164)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.addEventListener(HttpServiceContext.java:161)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addEventListener(JettyServerImpl.java:235)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addEventListener(ServerControllerImpl.java:276)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addEventListener(ServerControllerImpl.java:127)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerEventListener(HttpServiceStarted.java:286)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerEventListener(HttpServiceProxy.java:133)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:276)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:561)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)[karaf.jar:]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.doPublish(WebXmlObserver.java:300)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:153)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:466)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 62 more
Caused by: java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:294)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:476)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:448)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:217)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:461)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 66 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found from bundle [net.iocanel.web-tier]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[138:org.springframework.osgi.core:1.2.1]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291)[160:org.springframework.core:3.0.2.RELEASE]
        ... 72 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found by net.iocanel.web-tier [184]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.8.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)[org.apache.felix.framework-3.0.8.jar:]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[138:org.springframework.osgi.core:1.2.1]
        ... 76 more
20:51:36,838 | ERROR | raf-2.2.0/deploy | RegisterWebAppVisitorWC          | internal.RegisterWebAppVisitorWC  283 | 71 - org.ops4j.pax.web.pax-web-extender-war - 1.0.1 | Registration exception. Skipping.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:546)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[171:org.springframework.web:3.0.2.RELEASE]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:168)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:164)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.addEventListener(HttpServiceContext.java:161)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addEventListener(JettyServerImpl.java:235)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addEventListener(ServerControllerImpl.java:276)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addEventListener(ServerControllerImpl.java:127)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerEventListener(HttpServiceStarted.java:286)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerEventListener(HttpServiceProxy.java:133)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:276)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:561)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)[karaf.jar:]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.doPublish(WebXmlObserver.java:300)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:153)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:466)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 62 more
Caused by: java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:294)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:476)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:448)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:217)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:461)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 66 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found from bundle [net.iocanel.web-tier]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[138:org.springframework.osgi.core:1.2.1]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291)[160:org.springframework.core:3.0.2.RELEASE]
        ... 72 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found by net.iocanel.web-tier [184]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.8.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)[org.apache.felix.framework-3.0.8.jar:]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[138:org.springframework.osgi.core:1.2.1]
        ... 76 more
20:51:36,867 | WARN  | raf-2.2.0/deploy | log                              | .eclipse.jetty.util.log.Slf4jLog   40 | 49 - org.eclipse.jetty.util - 7.2.2.v20101205 | FAILED wicket.wicket-spring: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
20:51:36,868 | ERROR | raf-2.2.0/deploy | RegisterWebAppVisitorWC          | internal.RegisterWebAppVisitorWC  254 | 71 - org.ops4j.pax.web.pax-web-extender-war - 1.0.1 | Registration exception. Skipping.
java.lang.RuntimeException: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.eclipse.jetty.servlet.ServletHandler.updateMappings(ServletHandler.java:1218)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.servlet.ServletHandler.setFilterMappings(ServletHandler.java:1249)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.servlet.ServletHandler.addFilter(ServletHandler.java:1059)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$3.call(JettyServerImpl.java:291)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl$3.call(JettyServerImpl.java:288)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addFilter(JettyServerImpl.java:287)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addFilter(ServerControllerImpl.java:291)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addFilter(ServerControllerImpl.java:142)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerFilter(HttpServiceStarted.java:322)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerFilter(HttpServiceProxy.java:155)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:244)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:570)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.register(WebAppPublisher.java:170)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:155)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher$HttpServiceListener.serviceChanged(WebAppPublisher.java:119)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.setService(ReplaceableService.java:114)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.access$100(ReplaceableService.java:28)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService$CollectionListener.serviceAdded(ReplaceableService.java:183)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection$Tracker.addingService(ServiceCollection.java:181)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.osgi.util.tracker.ServiceTracker$Tracked.customizerAdding(ServiceTracker.java:896)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackAdding(AbstractTracked.java:261)[karaf.jar:]
        at org.osgi.util.tracker.AbstractTracked.trackInitial(AbstractTracked.java:184)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:339)[karaf.jar:]
        at org.osgi.util.tracker.ServiceTracker.open(ServiceTracker.java:273)[karaf.jar:]
        at org.ops4j.pax.swissbox.tracker.ServiceCollection.onStart(ServiceCollection.java:139)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.tracker.ReplaceableService.onStart(ReplaceableService.java:146)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle$Stopped.start(AbstractLifecycle.java:121)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.lifecycle.AbstractLifecycle.start(AbstractLifecycle.java:49)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebAppPublisher.publish(WebAppPublisher.java:81)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.doPublish(WebXmlObserver.java:300)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.WebXmlObserver.addingEntries(WebXmlObserver.java:153)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.register(BundleWatcher.java:186)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher.access$000(BundleWatcher.java:45)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.swissbox.extender.BundleWatcher$1.bundleChanged(BundleWatcher.java:127)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:807)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:729)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:610)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:3758)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.startBundle(Felix.java:1780)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:922)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1175)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:1153)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.process(DirectoryWatcher.java:458)[6:org.apache.felix.fileinstall:3.1.10]
        at org.apache.felix.fileinstall.internal.DirectoryWatcher.run(DirectoryWatcher.java:263)[6:org.apache.felix.fileinstall:3.1.10]
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'personDAO': Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:546)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:872)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:423)[175:org.springframework.context:3.0.2.RELEASE]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$301(AbstractDelegatedExecutionApplicationContext.java:69)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$1.run(AbstractDelegatedExecutionApplicationContext.java:186)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.normalRefresh(AbstractDelegatedExecutionApplicationContext.java:182)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$NoDependenciesWaitRefreshExecutor.refresh(AbstractDelegatedExecutionApplicationContext.java:89)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)[171:org.springframework.web:3.0.2.RELEASE]
        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)[171:org.springframework.web:3.0.2.RELEASE]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:168)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext$1.call(HttpServiceContext.java:164)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.swissbox.core.ContextClassLoaderUtils.doWithClassLoader(ContextClassLoaderUtils.java:60)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.addEventListener(HttpServiceContext.java:161)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerImpl.addEventListener(JettyServerImpl.java:235)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl$Started.addEventListener(ServerControllerImpl.java:276)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.jetty.internal.ServerControllerImpl.addEventListener(ServerControllerImpl.java:127)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceStarted.registerEventListener(HttpServiceStarted.java:286)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.service.internal.HttpServiceProxy.registerEventListener(HttpServiceProxy.java:133)[59:org.ops4j.pax.web.pax-web-runtime:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.RegisterWebAppVisitorWC.visit(RegisterWebAppVisitorWC.java:276)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        at org.ops4j.pax.web.extender.war.internal.model.WebApp.accept(WebApp.java:561)[71:org.ops4j.pax.web.pax-web-extender-war:1.0.1]
        ... 34 more
Caused by: org.springframework.beans.TypeMismatchException: Failed to convert property value of type 'java.lang.String' to required type 'java.lang.Class[]' for property 'interfaces'; nested exception is java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:466)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1363)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1322)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1076)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 62 more
Caused by: java.lang.IllegalArgumentException: Cannot find class [net.iocanel.database.dao.PersonDAO]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:294)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.beans.propertyeditors.ClassArrayEditor.setAsText(ClassArrayEditor.java:67)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertTextValue(TypeConverterDelegate.java:476)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.doConvertValue(TypeConverterDelegate.java:448)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:217)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:155)[167:org.springframework.beans:3.0.2.RELEASE]
        at org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:461)[167:org.springframework.beans:3.0.2.RELEASE]
        ... 66 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found from bundle [net.iocanel.web-tier]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:103)[138:org.springframework.osgi.core:1.2.1]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.loadClass(BundleDelegatingClassLoader.java:156)[138:org.springframework.osgi.core:1.2.1]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.springframework.util.ClassUtils.forName(ClassUtils.java:258)[160:org.springframework.core:3.0.2.RELEASE]
        at org.springframework.util.ClassUtils.resolveClassName(ClassUtils.java:291)[160:org.springframework.core:3.0.2.RELEASE]
        ... 72 more
Caused by: java.lang.ClassNotFoundException: net.iocanel.database.dao.PersonDAO not found by net.iocanel.web-tier [184]
        at org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:787)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:71)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1768)[org.apache.felix.framework-3.0.8.jar:]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:248)[:1.6.0_24]
        at org.apache.felix.framework.ModuleImpl.getClassByDelegation(ModuleImpl.java:645)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1612)[org.apache.felix.framework-3.0.8.jar:]
        at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:904)[org.apache.felix.framework-3.0.8.jar:]
        at org.springframework.osgi.util.BundleDelegatingClassLoader.findClass(BundleDelegatingClassLoader.java:99)[138:org.springframework.osgi.core:1.2.1]
        ... 76 more
20:51:44,958 | WARN  | qtp192737931-64  | log                              | .eclipse.jetty.util.log.Slf4jLog   50 | 49 - org.eclipse.jetty.util - 7.2.2.v20101205 | /web-tier/
java.lang.IllegalArgumentException: Argument application can not be null
        at org.apache.wicket.Application.set(Application.java:222)[146:org.apache.wicket.wicket:1.4.9]
        at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:304)[146:org.apache.wicket.wicket:1.4.9]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1322)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:473)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceServletHandler.doHandle(HttpServiceServletHandler.java:70)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:516)[54:org.eclipse.jetty.security:7.2.2.v20101205]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:929)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.HttpServiceContext.doHandle(HttpServiceContext.java:116)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:403)[55:org.eclipse.jetty.servlet:7.2.2.v20101205]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:184)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:864)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.ops4j.pax.web.service.jetty.internal.JettyServerHandlerCollection.handle(JettyServerHandlerCollection.java:72)[60:org.ops4j.pax.web.pax-web-jetty:1.0.1]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:114)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.Server.handle(Server.java:352)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.HttpConnection.handleRequest(HttpConnection.java:596)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.server.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:1051)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:590)[51:org.eclipse.jetty.http:7.2.2.v20101205]
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:212)[51:org.eclipse.jetty.http:7.2.2.v20101205]
        at org.eclipse.jetty.server.HttpConnection.handle(HttpConnection.java:426)[53:org.eclipse.jetty.server:7.2.2.v20101205]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:508)[50:org.eclipse.jetty.io:7.2.2.v20101205]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.access$000(SelectChannelEndPoint.java:34)[50:org.eclipse.jetty.io:7.2.2.v20101205]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:40)[50:org.eclipse.jetty.io:7.2.2.v20101205]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:451)[49:org.eclipse.jetty.util:7.2.2.v20101205]
        at java.lang.Thread.run(Thread.java:680)[:1.6.0_24]






If you reply to this email, your message will be added to the discussion below: http://karaf.922171.n3.nabble.com/The-problem-integration-spring-with-hibernate-still-i-hope-iocanel-could-help-me-tp2709775p2709775.html
To start a new topic under Karaf - User, email [hidden email]
To unsubscribe from Karaf - User, click here .

-----
Karafman
Slayer of the JEE
Pounder of the Perl Programmer

--
View this message in context: http://karaf.922171.n3.nabble.com/The-problem-integration-spring-with-hibernate-still-i-hope-iocanel-could-help-me-tp2709775p2710822.html
Sent from the Karaf - User mailing list archive at Nabble.com.



--
Ioannis Canellos





Ioannis Canellos
http://iocanel.blogspot.com
Reply | Threaded
Open this post in threaded view
|

Re: The problem integration spring with hibernate still. i hope iocanel could help me...

stream
In reply to this post by stream
yes, i've known this was simple problem. it was my fault, i just directly install the parent's project after downloaded the file of tar. then put the jar to the deploy of karaf...

while i was import the each project to the eclipse and mvn install , the problem was dissolved, it's stranger,
isn't it?
whatever thanks both guys.