且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Tomcat 6中部署Spring 4.0的AbstractMethodError

更新时间:2023-11-17 22:56:10

该错误与EL无关.这与javax.validation api和休眠有关.

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

休眠验证器4.3.x是javax.validation 1.0(JSR-303)的实现.但是,您包括1.1 API版本.降低包含的javax.validation版本或将休眠验证器升级到5.0.x.

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.