Results 1 to 3 of 3

Thread: Error when starting PetClinicClientServer from Eclipse

  1. #1

    Default Error when starting PetClinicClientServer from Eclipse

    When I start PetClinicClientServer inside Eclipse, I see the 'terms' window. When I accept the terms, the following errors display:
    ---------------------------------------------------------------------------------
    org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'menuBar' defined in class path resource [org/springframework/richclient/samples/petclinic/ui/commands-context.xml]:

    Can't resolve reference to bean 'windowMenu' while setting property 'members[2]'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'windowMenu' defined in class path resource [org/springframework/richclient/samples/petclinic/ui/commands-context.xml]:

    Can't resolve reference to bean 'preferenceCommand' while setting property 'members[4]'; nested exception is org.springframework.beans.factory.BeanCreationExce ption: Error creating bean with name 'preferenceCommand' defined in class path resource [org/springframework/richclient/samples/petclinic/ui/commands-context.xml]: Can't resolve reference to bean 'preferenceManager' while setting property 'preferenceManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefini tionException: No bean named 'preferenceManager' is defined: org.springframework.beans.factory.support.DefaultL istableBeanFactory defining beans
    -----------------------------------------------------------------------------------

    I did find the spring-richclient-sandbox.jar in the dist directory, and added it to the rich-client Build Path, but the error persists.

  2. #2
    Join Date
    Sep 2004
    Location
    Ghent, Belgium
    Posts
    224

    Default

    That would be my fault.

    You have to do the following:

    The code to load the prefs context file from the PetClinicStandalone class should be copied to the PetClinicClientServer class.

    I will fix it as soon as possible,

    Peter

  3. #3
    Join Date
    Sep 2004
    Location
    Ghent, Belgium
    Posts
    224

    Default

    This has been fixed

Similar Threads

  1. Replies: 7
    Last Post: Jun 1st, 2006, 12:27 PM
  2. JBoss DataSource not found
    By moacsjr in forum Data
    Replies: 10
    Last Post: Aug 25th, 2005, 01:26 PM
  3. eclipse 3.0.2 Spring IDE Problems
    By mkimber1 in forum SpringSource Tool Suite
    Replies: 5
    Last Post: Apr 21st, 2005, 11:01 AM
  4. Eclipse 3.0 compiler settings for Spring build?
    By jbetancourt in forum Architecture
    Replies: 4
    Last Post: Oct 5th, 2004, 03:41 PM
  5. Replies: 5
    Last Post: Sep 14th, 2004, 03:02 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
  •