我的控制器中有以下方法: public String registerNewUser(@Valid User user, BindingResult如果我将@NonNull改为@NotEmpty[Field error in object 'user' on field 'alias': rejected value
如何保存hibernate实体并忽略(不正确)瞬态模式。(BeanValidationEventListener.java:71) at org.hibernate.action.EntityIdentityInsertAction.execute(EntityIdentityInsertAction.java:65)
at
init method failed; nested exception is java.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImpljava.lang.NoClassDefFoundError: Could not initialize class org.hibernate.validator.internal.engine.ConfigurationImplartifactId