Results 1 to 2 of 2

Thread: Bean error

  1. #1
    Join Date
    Nov 2010
    Posts
    4

    Default Bean error

    Hi,
    I am working on an application, which uses Spring frame work.
    When I start the Application server and run the application, I am getting following error.
    Code:
    Unexpected error in the HttpReceiverServlet of MRF
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'MessageReceiver' is defined
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:340)
    beanRefFactory.xml is loading. But, I think, it is not in the proper classpath. Do I need to put it in the separate .jar file?

    If some one guides me how to go ahead with this, it will be of great help

    a bean by name: MessageReceiver is not loading. Looks like it is related to Spring framework. The way how spring loads the bean.

    I am clue less how to go ahead to fix it. Can anyone help. please.

    Regards,

  2. #2
    Join Date
    Aug 2010
    Location
    India
    Posts
    11

    Default

    Please check if the name matches the definition in the xml file and the right path is given

Posting Permissions

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