Spring IDE
  1. Spring IDE
  2. IDE-1015

Class 'org.springframework.osgi.config.OsgiServiceLifecycleListenerAdapter' not found

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.4
    • Fix Version/s: 2.2.5 M1
    • Component/s: None
    • Labels:
      None
    • Environment:
      WinXP SP3 + Eclipse 3.4.1 + Spring DM 1.2.0

      Description

      In the XML editor Spring IDE reports me this error :

      "Class 'org.springframework.osgi.config.OsgiServiceLifecycleListenerAdapter' not found"

      with this code :

      <?xml version="1.0" encoding="UTF-8"?>
      <beans:beans xmlns="http://www.springframework.org/schema/osgi"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns:beans="http://www.springframework.org/schema/beans"
      xmlns:osgix="http://www.springframework.org/schema/osgi-compendium"

      xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
      http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd
      http://www.springframework.org/schema/osgi-compendium http://www.springframework.org/schema/osgi-compendium/spring-osgi-compendium.xsd">

      <reference id="transactionManager" interface="javax.transaction.TransactionManager" cardinality="1..1" />
      <reference id="jmsConnectionFactory" interface="javax.jms.ConnectionFactory" cardinality="1..1" />

      <list id="pricingProcessors" interface="eu.covariance.server.pricer.core.PricingProcessor" cardinality="0..N" >
      <listener ref="pricingProcessorLifecycleListener" />
      </list>

      </beans:beans>

      The error marker is set on this line:
      <list id="pricingProcessors" interface="eu.covariance.server.pricer.core.PricingProcessor" cardinality="0..N" >

      I think it may come from a refactoring/move of classes from Spring DM 1.1 to 1.2 because in Spring DM 1.2 the class OsgiServiceLifecycleListenerAdapter can be found in

      org.springframework.osgi.config.internal.adapter.OsgiServiceLifecycleListenerAdapter

      instead of

      org.springframework.osgi.config.OsgiServiceLifecycleListenerAdapter

        Activity

        Hide
        Frederic Conrotte added a comment -

        Fixed in latest nightly build of Spring IDE 2.2.5.CI-R3260-B336

        To be closed

        Show
        Frederic Conrotte added a comment - Fixed in latest nightly build of Spring IDE 2.2.5.CI-R3260-B336 To be closed
        Hide
        Christian Dupuis added a comment -

        Thanks for verifying this.

        Show
        Christian Dupuis added a comment - Thanks for verifying this.

          People

          • Assignee:
            Christian Dupuis
            Reporter:
            Frederic Conrotte
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: