I\'m trying to add spring security to a regular JSF application. After repeated tries and I\'m failing with the following error on tomcat bring-up.
Here is the entir
I had this error as well, and the problem turned out that, with cut and paste, I had inadvertently listed the same bean twice in my spring-servlet.xml:
<bean id="pathInfoHelper" class="org.nationalhistory.util.PathInfoHelper">
</bean>
<bean id="imageIndexer" class="org.nationalhistory.util.ImageIndexer"/>
<bean id="pathInfoHelper" class="org.nationalhistory.util.PathInfoHelper">
</bean>
I looked here and found this with the help of om39a's answer above (thanks!). I had just edited the file, and knew there was a chance I had pasted something extra (or something less) inadvertently. This double-entry, however, was NOT the bean that the error referred to!