org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: serviceBeans, getter: null, setter: [class org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(interface java.util.List)]

Pentaho BI Platform Tracking | Emanuel Teixeira | 8 months ago
  1. 0

    Starting biserver with JAVA 7, we are getting this errors: {noformat} 31-Mar-2016 16:02:10.123 INFO [Thread-17] org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer.register Registered blueprint namespace handler for http://cxf.apache.org/ws/rm/manager 31-Mar-2016 16:02:10.125 INFO [Thread-17] org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer.register Registered blueprint namespace handler for http://schemas.xmlsoap.org/ws/2005/02/rm/policy 16:02:10,681 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle pentaho-metaverse-web org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: serviceBeans, getter: null, setter: [class org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(interface java.util.List)] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:941) at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907) at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787) at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88) at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245) at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183) at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682) at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377) at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269) at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294) at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263) at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127) at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429) at org.apache.felix.framework.Felix.startBundle(Felix.java:2100) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963) at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:501) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:459) at org.apache.karaf.features.internal.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:92) at org.apache.karaf.features.internal.BootFeaturesInstaller$1.run(BootFeaturesInstaller.java:71) Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/BeanParam at org.apache.cxf.jaxrs.utils.AnnotationUtils.initParamAnnotationClasses(AnnotationUtils.java:71) at org.apache.cxf.jaxrs.utils.AnnotationUtils.<clinit>(AnnotationUtils.java:54) at org.apache.cxf.jaxrs.model.ClassResourceInfo.<init>(ClassResourceInfo.java:90) at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:279) at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:270) at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClassesFromBeans(JAXRSServiceFactoryBean.java:236) at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(JAXRSServerFactoryBean.java:342) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:628) at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:378) at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:939) ... 31 more Caused by: java.lang.ClassNotFoundException: javax.ws.rs.BeanParam at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1139) at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:881) at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1577) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1507) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 45 more 16:02:10,708 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle pentaho-marketplace-ba org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: serviceBeans, getter: null, setter: [class org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(interface java.util.List)] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:941) at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907) at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787) at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88) at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245) at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183) at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682) at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377) at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106) at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cxf.jaxrs.utils.AnnotationUtils at org.apache.cxf.jaxrs.model.ClassResourceInfo.<init>(ClassResourceInfo.java:90) at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:279) at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:270) at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClassesFromBeans(JAXRSServiceFactoryBean.java:236) at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(JAXRSServerFactoryBean.java:342) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:628) at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:378) at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:939) ... 23 more 16:02:17,040 INFO [PeriodicStatusLogger] Caution, the system is initializing. Do not shut down or restart the system at this time. 16:02:47,040 INFO [PeriodicStatusLogger] Caution, the system is initializing. Do not shut down or restart the system at this time. 16:03:09,418 INFO [PeriodicStatusLogger] The system has finished initializing. Pentaho BI Platform server is ready. (Pentaho Open Source BA Server 6.1-qat-153) Fully Qualified Server Url = http://localhost:8080/pentaho/, Solution Path = C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\pentaho-solutions 31-Mar-2016 16:03:23.807 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\pentaho has finished in 255,104 ms 31-Mar-2016 16:03:23.807 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\pentaho-style 31-Mar-2016 16:03:24.963 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded 31-Mar-2016 16:03:24.974 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\pentaho-style has finished in 1,167 ms 31-Mar-2016 16:03:24.975 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\ROOT 31-Mar-2016 16:03:26.073 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded 31-Mar-2016 16:03:26.080 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\ROOT has finished in 1,105 ms 31-Mar-2016 16:03:26.081 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\sw-style 31-Mar-2016 16:03:27.083 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded 31-Mar-2016 16:03:27.092 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\sw-style has finished in 1,010 ms 31-Mar-2016 16:03:27.105 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"] 31-Mar-2016 16:03:27.139 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"] 31-Mar-2016 16:03:27.147 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 258618 ms 2016/03/31 16:03:38 - RepositoriesMeta - Reading repositories XML file: FromInputStream 2016/03/31 16:03:38 - PurRepository - Creating repository meta store interface 2016/03/31 16:03:38 - PurRepository - Created default namespace "pentaho" 2016/03/31 16:03:38 - PurRepository - Connected to the enterprise repository Attempting to load ESAPI.properties via file I/O. Attempting to load ESAPI.properties as resource file via file I/O. {noformat}

    Pentaho BI Platform Tracking | 8 months ago | Emanuel Teixeira
    org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: serviceBeans, getter: null, setter: [class org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(interface java.util.List)]
  2. 0

    Starting biserver with JAVA 7, we are getting this errors: {noformat} 31-Mar-2016 16:02:10.123 INFO [Thread-17] org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer.register Registered blueprint namespace handler for http://cxf.apache.org/ws/rm/manager 31-Mar-2016 16:02:10.125 INFO [Thread-17] org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer.register Registered blueprint namespace handler for http://schemas.xmlsoap.org/ws/2005/02/rm/policy 16:02:10,681 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle pentaho-metaverse-web org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: serviceBeans, getter: null, setter: [class org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(interface java.util.List)] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:941) at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907) at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787) at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88) at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245) at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183) at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682) at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377) at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269) at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:294) at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:263) at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:253) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463) at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422) at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1127) at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696) at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484) at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4429) at org.apache.felix.framework.Felix.startBundle(Felix.java:2100) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:976) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:963) at org.apache.karaf.features.internal.FeaturesServiceImpl.startBundle(FeaturesServiceImpl.java:501) at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:459) at org.apache.karaf.features.internal.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:92) at org.apache.karaf.features.internal.BootFeaturesInstaller$1.run(BootFeaturesInstaller.java:71) Caused by: java.lang.NoClassDefFoundError: javax/ws/rs/BeanParam at org.apache.cxf.jaxrs.utils.AnnotationUtils.initParamAnnotationClasses(AnnotationUtils.java:71) at org.apache.cxf.jaxrs.utils.AnnotationUtils.<clinit>(AnnotationUtils.java:54) at org.apache.cxf.jaxrs.model.ClassResourceInfo.<init>(ClassResourceInfo.java:90) at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:279) at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:270) at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClassesFromBeans(JAXRSServiceFactoryBean.java:236) at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(JAXRSServerFactoryBean.java:342) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:628) at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:378) at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:939) ... 31 more Caused by: java.lang.ClassNotFoundException: javax.ws.rs.BeanParam at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1305) at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1139) at org.apache.felix.framework.ExtensionManager$ExtensionManagerWiring.getClassByDelegation(ExtensionManager.java:881) at org.apache.felix.framework.BundleWiringImpl.searchImports(BundleWiringImpl.java:1577) at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1507) at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:77) at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1993) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) ... 45 more 16:02:10,708 ERROR [BlueprintContainerImpl] Unable to start blueprint container for bundle pentaho-marketplace-ba org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: serviceBeans, getter: null, setter: [class org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(interface java.util.List)] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:941) at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907) at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820) at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787) at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88) at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245) at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183) at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682) at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377) at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106) at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.run(FutureTask.java:262) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.cxf.jaxrs.utils.AnnotationUtils at org.apache.cxf.jaxrs.model.ClassResourceInfo.<init>(ClassResourceInfo.java:90) at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:279) at org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:270) at org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClassesFromBeans(JAXRSServiceFactoryBean.java:236) at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(JAXRSServerFactoryBean.java:342) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:628) at org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:378) at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:939) ... 23 more 16:02:17,040 INFO [PeriodicStatusLogger] Caution, the system is initializing. Do not shut down or restart the system at this time. 16:02:47,040 INFO [PeriodicStatusLogger] Caution, the system is initializing. Do not shut down or restart the system at this time. 16:03:09,418 INFO [PeriodicStatusLogger] The system has finished initializing. Pentaho BI Platform server is ready. (Pentaho Open Source BA Server 6.1-qat-153) Fully Qualified Server Url = http://localhost:8080/pentaho/, Solution Path = C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\pentaho-solutions 31-Mar-2016 16:03:23.807 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\pentaho has finished in 255,104 ms 31-Mar-2016 16:03:23.807 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\pentaho-style 31-Mar-2016 16:03:24.963 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded 31-Mar-2016 16:03:24.974 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\pentaho-style has finished in 1,167 ms 31-Mar-2016 16:03:24.975 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\ROOT 31-Mar-2016 16:03:26.073 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded 31-Mar-2016 16:03:26.080 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\ROOT has finished in 1,105 ms 31-Mar-2016 16:03:26.081 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\sw-style 31-Mar-2016 16:03:27.083 INFO [localhost-startStop-1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded 31-Mar-2016 16:03:27.092 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory C:\Releases\6.1\biserver-ce-6.1-QAT-153-2\biserver-ce\tomcat\webapps\sw-style has finished in 1,010 ms 31-Mar-2016 16:03:27.105 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-apr-8080"] 31-Mar-2016 16:03:27.139 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-apr-8009"] 31-Mar-2016 16:03:27.147 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 258618 ms 2016/03/31 16:03:38 - RepositoriesMeta - Reading repositories XML file: FromInputStream 2016/03/31 16:03:38 - PurRepository - Creating repository meta store interface 2016/03/31 16:03:38 - PurRepository - Created default namespace "pentaho" 2016/03/31 16:03:38 - PurRepository - Connected to the enterprise repository Attempting to load ESAPI.properties via file I/O. Attempting to load ESAPI.properties as resource file via file I/O. {noformat}

    Pentaho BI Platform Tracking | 8 months ago | Emanuel Teixeira
    org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: serviceBeans, getter: null, setter: [class org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(interface java.util.List)]
  3. 0

    maven repo and 5.0-X version

    Google Groups | 2 years ago | Zsolt Kúti
    java.lang.NoClassDefFoundError: Could not initialize class
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    NoClassDefFoundError while creating mock object in java

    Stack Overflow | 7 months ago | Manas Kantha
    java.lang.NoClassDefFoundError: Could not initialize class
  6. 0

    External Properties file and classpath

    Oracle Community | 6 years ago | 393585
    java.lang.NoClassDefFoundError: Could not initialize class

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoClassDefFoundError

      Could not initialize class org.apache.cxf.jaxrs.utils.AnnotationUtils

      at org.apache.cxf.jaxrs.model.ClassResourceInfo.<init>()
    2. Apache CXF Runtime JAX-RS Frontend
      JAXRSServerFactoryBean.setServiceBeans
      1. org.apache.cxf.jaxrs.model.ClassResourceInfo.<init>(ClassResourceInfo.java:90)
      2. org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:279)
      3. org.apache.cxf.jaxrs.utils.ResourceUtils.createClassResourceInfo(ResourceUtils.java:270)
      4. org.apache.cxf.jaxrs.JAXRSServiceFactoryBean.setResourceClassesFromBeans(JAXRSServiceFactoryBean.java:236)
      5. org.apache.cxf.jaxrs.JAXRSServerFactoryBean.setServiceBeans(JAXRSServerFactoryBean.java:342)
      5 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    4. Apache Aries Blueprint Core
      AbstractRecipe$1.call
      1. org.apache.aries.blueprint.utils.ReflectionUtils$MethodPropertyDescriptor.internalSet(ReflectionUtils.java:628)
      2. org.apache.aries.blueprint.utils.ReflectionUtils$PropertyDescriptor.set(ReflectionUtils.java:378)
      3. org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:939)
      4. org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:907)
      5. org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:888)
      6. org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:820)
      7. org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)
      8. org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)
      8 frames
    5. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      1 frame
    6. Apache Aries Blueprint Core
      BlueprintContainerImpl.run
      1. org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)
      2. org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)
      3. org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)
      4. org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:682)
      5. org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:377)
      6. org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:269)
      6 frames
    7. Java RT
      FutureTask.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      2 frames
    8. Apache Aries Blueprint Core
      DiscardableRunnable.run
      1. org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106)
      2. org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)
      2 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:262)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
      4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
      5. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      6. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      7. java.lang.Thread.run(Thread.java:745)
      7 frames