org.osgi.service.blueprint.container.ComponentDefinitionException

org.osgi.service.blueprint.container.ComponentDefinitionException: The service implementation does not implement the required interfaces: [com.foo.aries.issue.FooService]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web18

  • via Unknown by Siano, Stephan,
  • via Unknown by Siano, Stephan,
  • Stack trace

    • org.osgi.service.blueprint.container.ComponentDefinitionException: org.osgi.service.blueprint.container.ComponentDefinitionException: The service implementation does not implement the required interfaces: [com.foo.aries.issue.FooService] at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:297)[bundlefile:1.1.0] at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:249)[bundlefile:1.1.0] at org.apache.aries.blueprint.container.ServiceRecipe.internalCreate(ServiceRecipe.java:146)[bundlefile:1.1.0] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79)[bundlefile:1.1.0] at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)[na:1.7.0_17] at java.util.concurrent.FutureTask.run(Unknown Source)[na:1.7.0_17] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)[bundlefile:1.1.0] at org.apache.aries.blueprint.container.BlueprintRepository.createInstances(BlueprintRepository.java:245)[bundlefile:1.1.0] at org.apache.aries.blueprint.container.BlueprintRepository.createAll(BlueprintRepository.java:183)[bundlefile:1.1.0] at org.apache.aries.blueprint.container.BlueprintContainerImpl.instantiateEagerComponents(BlueprintContainerImpl.java:668)[bundlefile:1.1.0] at org.apache.aries.blueprint.container.BlueprintContainerImpl.doRun(BlueprintContainerImpl.java:370)[bundlefile:1.1.0] at org.apache.aries.blueprint.container.BlueprintContainerImpl.run(BlueprintContainerImpl.java:261)[bundlefile:1.1.0] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.7.0_17] at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)[na:1.7.0_17] at java.util.concurrent.FutureTask.run(Unknown Source)[na:1.7.0_17] at org.apache.aries.blueprint.container.ExecutorServiceWrapper.run(ExecutorServiceWrapper.java:106)[bundlefile:1.1.0] at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:48)[bundlefile:1.1.0] at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)[na:1.7.0_17] at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)[na:1.7.0_17] at java.util.concurrent.FutureTask.run(Unknown Source)[na:1.7.0_17] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)[na:1.7.0_17] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)[na:1.7.0_17] at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)[na:1.7.0_17] at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)[na:1.7.0_17] at java.lang.Thread.run(Unknown Source)[na:1.7.0_17] Caused by: org.osgi.service.blueprint.container.ComponentDefinitionException: The service implementation does not implement the required interfaces: [com.foo.aries.issue.FooService] at org.apache.aries.blueprint.container.ServiceRecipe.validateClasses(ServiceRecipe.java:340)[bundlefile:1.1.0] at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:289)[bundlefile:1.1.0] ... 24 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitor2 times, last one
    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    4 more bugmates