Announcement Announcement Module
Collapse
No announcement yet.
Erroneous "No constructor with 1 argument defined in cl Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Erroneous "No constructor with 1 argument defined in cl

    I have a factory class in my project. This class has a static factory method "createBean(SomeOtherBean arg)", with a bean declaration as follows:

    Code:
      <bean id="myBean" class="MyFactory"
            factory-method="createBean">
        <constructor-arg>
          <ref local="someOtherBean"/>
        </constructor-arg>
      </bean>
    This code works fine within the spring framework itself, however the Spring-IDE complains with

    No constructor with 1 argument defined in class 'MyFactory'

    I'm using Spring-IDE 1.2.0 with Eclipse 3.0.2

  • #2
    While investigating the problem I noticed that the TRUNK-release has fixed this bug...

    Comment


    • #3
      Originally posted by tkl
      While investigating the problem I noticed that the TRUNK-release has fixed this bug...
      You are right. Ticket #46 (http://springide.org/project/ticket/46) is fixed .

      Cheers
      Torsten

      Comment

      Working...
      X