java.lang.ClassCastException: org.springframework.osgi.service.importer.support.ServiceReferenceDelegate

Spring JIRA | Costin Leau | 9 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

    Root Cause Analysis

    1. java.lang.ClassCastException

      org.springframework.osgi.service.importer.support.ServiceReferenceDelegate

      at org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService()
    2. Eclipse OSGi
      BundleContextImpl.getService
      1. org.eclipse.osgi.framework.internal.core.BundleContextImpl.getService(BundleContextImpl.java:890)
      1 frame
    3. b3.impl
      ClientServiceImpl$1.run
      1. b3.impl.ClientServiceImpl.getEchoService(ClientServiceImpl.java:33)
      2. b3.impl.ClientServiceImpl$1.run(ClientServiceImpl.java:23)
      2 frames