Announcement Announcement Module
Collapse
No announcement yet.
Problem with Spring + AspectJ + Acegi Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem with Spring + AspectJ + Acegi

    Hi

    I have a app with Spring + AspectJ and had some problems with the warning:
    Code:
    WARN  org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect BeanFactory has not been set on [org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect]: Make sure this configurer runs in a Spring container. For example, add it to a Spring application context as an XML bean definition.
    I solved it by moving the:
    Code:
    <bean class="org.springframework.beans.factory.aspectj.AnnotationBeanConfigurerAspect" factory-method="aspectOf"/>
    To the begining of my appCon-hibernate.xml file, and use "depends-on" in the bean declaration.

    Now I have implemented Acegi-security framework and the problem returned.
    Same warning in the log when I startup the app-server.

    Anyone having some idea of what is going wrong...?

    Best regards,
    /Fredde
Working...
X