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

前端 未结 4 1265
故里飘歌
故里飘歌 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:54

    I faced this issue when using both jersey-spring3 and spring-core. The jersey-spring3.jar, uses its own version for Spring libraries, so to use the ones you want, you need to exclude these libraries manually.

    
            org.glassfish.jersey.ext
            jersey-spring3
            2.22.1
            
                
                    org.springframework
                    spring-core
                
                
                    org.springframework
                    spring-web
                
                
                    org.springframework
                    spring-beans
                
                
                    bean-validator
                    org.glassfish.hk2.external
                
            
        
    

提交回复
热议问题