-
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,
:(
-
Please check if the name matches the definition in the xml file and the right path is given