Results 1 to 3 of 3

Thread: Overrides another bean within config...

  1. #1
    Join Date
    Oct 2004
    Posts
    151

    Default Overrides another bean within config...

    Hi!

    We have a project with some springbeans config files (ProjectA). This project is set as dependent of another project that has some some springbeans config files too (ProjectB).

    I have made a config set for springbeans in ProjectA that containts all the springbeans in ProjectB so ProjectA sees both the spring beans in ProjectA and ProjectB.

    One of the beans in ProjectA is overriding a bean in ProjectB.

    I get the following errormessage in the problems-tab:

    Overrides another bean within config set 'ProjectB-config' service.xml ProjectA/conf line 505

    I think I shouldn't get this errormessage Can this be a bug in the SpringIDE?

    I'm using eclipse 3.1 and SpringIDE 1.2.3 on osx 10.4.2.


    -Kaj

  2. #2
    Join Date
    Aug 2004
    Location
    Frankfurt/Main, Germany
    Posts
    253

    Default

    Kaj,

    you can turn off the bean override detection via the checkbox "Enable bean override" in the config set properties dialog. Please refer to the Spring Guide for details.

    Cheers,
    Torsten

  3. #3
    Join Date
    Oct 2004
    Posts
    151

    Default

    Quote Originally Posted by Torsten Juergeleit
    Kaj,
    you can turn off the bean override detection via the checkbox "Enable bean override" in the config set properties dialog. Please refer to the Spring Guide for details.
    Thank you! Just what I wanted!

    After checking this checkbox the problems is gone!


    -Kaj

Similar Threads

  1. Order of Bean definitions matters?
    By cfuser in forum Container
    Replies: 2
    Last Post: Oct 21st, 2005, 10:29 AM
  2. Spring container fails with no exception
    By naor in forum Container
    Replies: 9
    Last Post: Oct 1st, 2005, 03:39 PM
  3. EHCaching Hibernate
    By dencamel in forum Data
    Replies: 3
    Last Post: Sep 6th, 2005, 09:03 PM
  4. could not satisfy dependencies
    By springuser in forum Container
    Replies: 4
    Last Post: Apr 26th, 2005, 01:15 PM
  5. Replies: 1
    Last Post: Apr 25th, 2005, 07:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •