Bug 1129460 - DR1 - rest quickstart raises class not found exception when installed
Summary: DR1 - rest quickstart raises class not found exception when installed
Keywords:
Status: NEW
Alias: None
Product: JBoss Fuse Service Works 6
Classification: JBoss
Component: Examples
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: kconner
QA Contact: Matej Melko
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-12 19:40 UTC by Len DiMaggio
Modified: 2015-11-02 08:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Len DiMaggio 2014-08-12 19:40:26 UTC
Description of problem:

After building the quickstart, installing it (features:install quickstart-rest) raises a class not found error for:

com.wordnik.swagger.jaxrs.listing.ApiListingResourceJSON

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


14:32:14,415 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=cxf1868493600,type=Bus,instance.id=1868493600: org.apache.cxf.bus.ManagedBus@42abf2ff
14:32:14,419 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=cxf1868493600,type=Bus,instance.id=1868493600: javax.management.modelmbean.RequiredModelMBean@6b891d55
14:32:14,419 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registered org.apache.cxf:bus.id=cxf1868493600,type=Bus,instance.id=1868493600
14:32:14,420 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=cxf1868493600,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager,instance.id=1029411575: org.apache.cxf.bus.managers.WorkQueueManagerImplMBeanWrapper@470db599
14:32:14,421 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=cxf1868493600,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager,instance.id=1029411575: javax.management.modelmbean.RequiredModelMBean@664b415f
14:32:14,470 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=org.jboss.quickstarts.fuse.rest-cxf763212126,type=Bus,instance.id=763212126: org.apache.cxf.bus.ManagedBus@1707a9a7
14:32:14,471 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=org.jboss.quickstarts.fuse.rest-cxf763212126,type=Bus,instance.id=763212126: javax.management.modelmbean.RequiredModelMBean@78131ec0
14:32:14,471 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registered org.apache.cxf:bus.id=org.jboss.quickstarts.fuse.rest-cxf763212126,type=Bus,instance.id=763212126
14:32:14,471 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=org.jboss.quickstarts.fuse.rest-cxf763212126,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager,instance.id=793251030: org.apache.cxf.bus.managers.WorkQueueManagerImplMBeanWrapper@2342cdda
14:32:14,472 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=org.jboss.quickstarts.fuse.rest-cxf763212126,WorkQueueManager=Bus.WorkQueueManager,type=WorkQueueManager,instance.id=793251030: javax.management.modelmbean.RequiredModelMBean@76d8b54b
14:32:14,525 | INFO  | l Console Thread | ServerImpl                       | 164 - org.apache.cxf.cxf-api - 2.7.0.redhat-610379 | Setting the server's publish address to be /crm
14:32:14,527 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=org.jboss.quickstarts.fuse.rest-cxf763212126,type=Bus.Service.Endpoint,service="{http://rest.fuse.quickstarts.jboss.org/}CustomerService",port="CustomerService",instance.id=966023464: org.apache.cxf.endpoint.ManagedEndpoint@3a696ea0
14:32:14,529 | INFO  | l Console Thread | InstrumentationManagerImpl       | 163 - org.apache.cxf.cxf-rt-management - 2.7.0.redhat-610379 | registering MBean org.apache.cxf:bus.id=org.jboss.quickstarts.fuse.rest-cxf763212126,type=Bus.Service.Endpoint,service="{http://rest.fuse.quickstarts.jboss.org/}CustomerService",port="CustomerService",instance.id=966023464: javax.management.modelmbean.RequiredModelMBean@3031917d
14:32:14,563 | WARN  | l Console Thread | BeanRecipe                       | 9 - org.apache.aries.blueprint.core - 1.0.1.redhat-610379 | Object to be destroyed is not an instance of UnwrapperedBeanHolder, type: null
14:32:14,566 | ERROR | l Console Thread | BlueprintContainerImpl           | 9 - org.apache.aries.blueprint.core - 1.0.1.redhat-610379 | Unable to start blueprint container for bundle org.jboss.quickstarts.fuse.rest
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to initialize bean customerService
	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:714)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:824)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:787)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_51]
	at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:676)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:374)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintExtender.createContainer(BlueprintExtender.java:270)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.blueprint.container.BlueprintExtender.modifiedBundle(BlueprintExtender.java:233)[9:org.apache.aries.blueprint.core:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:500)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.customizerModified(BundleHookBundleTracker.java:433)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$AbstractTracked.track(BundleHookBundleTracker.java:725)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$Tracked.bundleChanged(BundleHookBundleTracker.java:463)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.aries.util.tracker.hook.BundleHookBundleTracker$BundleEventHook.event(BundleHookBundleTracker.java:422)[11:org.apache.aries.util:1.0.1.redhat-610379]
	at org.apache.felix.framework.util.SecureAction.invokeBundleEventHook(SecureAction.java:1103)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.createWhitelistFromHooks(EventDispatcher.java:696)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:484)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4650)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix$4.run(Felix.java:2123)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.runInContext(Felix.java:2147)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.Felix.startBundle(Felix.java:2121)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)[org.apache.felix.framework-4.0.3.redhat-610379.jar:]
	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeatures(FeaturesServiceImpl.java:474)[22:org.apache.karaf.features.core:2.3.0.redhat-610379]
	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:404)[22:org.apache.karaf.features.core:2.3.0.redhat-610379]
	at org.apache.karaf.features.internal.FeaturesServiceImpl.installFeature(FeaturesServiceImpl.java:400)[22:org.apache.karaf.features.core:2.3.0.redhat-610379]
	at org.apache.karaf.features.command.InstallFeatureCommand.doExecute(InstallFeatureCommand.java:62)[26:org.apache.karaf.features.command:2.3.0.redhat-610379]
	at org.apache.karaf.features.command.FeaturesCommandSupport.doExecute(FeaturesCommandSupport.java:41)[26:org.apache.karaf.features.command:2.3.0.redhat-610379]
	at org.apache.karaf.shell.console.OsgiCommandSupport.execute(OsgiCommandSupport.java:39)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
	at org.apache.felix.gogo.commands.basic.AbstractCommand.execute(AbstractCommand.java:35)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
	at org.apache.felix.gogo.runtime.CommandProxy.execute(CommandProxy.java:78)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:477)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.executeStatement(Closure.java:403)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Pipe.run(Pipe.java:108)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:183)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.Closure.execute(Closure.java:120)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.felix.gogo.runtime.CommandSessionImpl.execute(CommandSessionImpl.java:89)[15:org.apache.felix.gogo.runtime:0.11.0.redhat-610379]
	at org.apache.karaf.shell.console.jline.Console.run(Console.java:189)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
	at org.apache.karaf.shell.console.jline.DelayedStarted.run(DelayedStarted.java:61)[17:org.apache.karaf.shell.console:2.3.0.redhat-610379]
Caused by: java.lang.NoClassDefFoundError: com/wordnik/swagger/jaxrs/listing/ApiListingResourceJSON
	at org.apache.cxf.jaxrs.swagger.SwaggerFeature.initialize(SwaggerFeature.java:48)
	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.applyFeatures(JAXRSServerFactoryBean.java:231)
	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.create(JAXRSServerFactoryBean.java:186)
	at org.apache.cxf.jaxrs.JAXRSServerFactoryBean.init(JAXRSServerFactoryBean.java:135)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.7.0_51]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)[:1.7.0_51]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[:1.7.0_51]
	at java.lang.reflect.Method.invoke(Method.java:606)[:1.7.0_51]
	at org.apache.aries.blueprint.utils.ReflectionUtils.invoke(ReflectionUtils.java:297)
	at org.apache.aries.blueprint.container.BeanRecipe.invoke(BeanRecipe.java:958)
	at org.apache.aries.blueprint.container.BeanRecipe.runBeanProcInit(BeanRecipe.java:712)
	... 42 more
Caused by: java.lang.ClassNotFoundException: com.wordnik.swagger.jaxrs.listing.ApiListingResourceJSON not found by org.apache.cxf.cxf-rt-frontend-jaxrs [175]
	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1532)
	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:75)
	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:1955)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)[:1.7.0_51]
	... 53 more


Note You need to log in before you can comment on or make changes to this bug.