java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context

前端 未结 4 1237
故里飘歌
故里飘歌 2020-12-31 05:03

I\'m using maven_spring 3.1.M2 + hibernate 3.5. Once I put the line in my applicationcontex xml file, the follwoing error will oc

4条回答
  •  隐瞒了意图╮
    2020-12-31 05:56

    Do you have AspectJ in your pom.xml or in your lib-directory?

    
        org.springframework
        spring-aspects
        3.1.0.RELEASE
    
    
        org.aspectj
        aspectjrt
        ${aspectj.version}
    
    
        org.aspectj
        aspectjweaver
        ${aspectj.version}
    
    

    I had the same error and this solved my problem.

提交回复
热议问题