cancel
Showing results for 
Search instead for 
Did you mean: 

[ SOLVED ] Bean already registered - help!

mrudmann
Champ in-the-making
Champ in-the-making
Hi group,
I am receiving the following in my catalina.out log file.  Can anyone help me out???  I am rather new to java beans and I could use some assistance.

Thanks for your help!

-Matt

—- catalina.out below —–

Here is a snip of the errors from the log file:

09:54:34,139 ERROR [[Catalina].[localhost].[/alfresco]] Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanDefinitionStoreException: Cannot register alias 'saltSource' for bean name 'alfDaoImpl': it's already registered for bean name 'alfDaoImpl'
at org.springframework.beans.factory.support.AbstractBeanFactory.registerAlias(AbstractBeanFactory.java:461)
at org.springframework.beans.factory.xml.DefaultXmlBeanDefinitionParser.parseBeanDefinitions(DefaultXmlBeanDefinitionParser.java:303)
at
1 REPLY 1

mrudmann
Champ in-the-making
Champ in-the-making
Geeeze I think I took stupid pills this morning.

OK, it's been a while since I have rolled up my Java sleeves, but the problem now (of course) seems obvious - there was a duplicate bean defined in another xml file that I was playing around with.

All seems well now.