Spring 3.1 entityManagerFactory java.lang.NoSuchFieldError: NULL Error

前端 未结 2 1130
青春惊慌失措
青春惊慌失措 2020-12-15 15:37

I have just migrated Spring 3.0.5 to 3.1 GA. I faced runtime error during initialization:

org.springframework.beans.factory.BeanCreationException: Error crea         


        
2条回答
  •  离开以前
    2020-12-15 16:16

    This means there is a version mismatch--most likely with spring classes. So make sure all your spring jars are 3.1.0. Especially spring-expression. (Also upgrade your JPA provider (hibernate?) if it doesn't work after fixing spring)

提交回复
热议问题