AbstractMethodError on deploying Spring 4.0 in Tomcat 6

前端 未结 2 850
予麋鹿
予麋鹿 2020-12-01 08:59

I am getting below exception on deploying Spring 4.0.1 app in Tomcat 6.0.37:

SEVERE: Exception sending context initialized event to listener instance of clas         


        
2条回答
  •  旧时难觅i
    2020-12-01 09:24

    The error has nothing to do with the EL. It has all to do with the javax.validation api and hibernate.

    java.lang.AbstractMethodError: org.hibernate.validator.internal.engine.ConfigurationImpl.getDefaultParameterNameProvider()Ljavax/validation/ParameterNameProvider
    

    Hibernate validator 4.3.x is an implementation of javax.validation 1.0 (JSR-303). However you are including the 1.1 API version. Either downgrade the included javax.validation version or upgrade your hibernate validator to 5.0.x.

提交回复
热议问题