注册功能提示错误,页面无法显示?
来源:13-6 -前台实现、测试-2
简先生
2017-10-08
There was an unexpected error (type=Internal Server Error, status=500).
Validation failed for classes [com.study.blog.domain.User] during persist time for groups [javax.validation.groups.Default, ] List of constraint violations:[ ConstraintViolationImpl{interpolatedMessage='??????', propertyPath=email, rootBeanClass=class com.study.blog.domain.User, messageTemplate='??????'} ConstraintViolationImpl{interpolatedMessage='??????', propertyPath=name, rootBeanClass=class com.study.blog.domain.User, messageTemplate='??????'} ConstraintViolationImpl{interpolatedMessage='??????', propertyPath=username, rootBeanClass=class com.study.blog.domain.User, messageTemplate='??????'} ConstraintViolationImpl{interpolatedMessage='??????', propertyPath=password, rootBeanClass=class com.study.blog.domain.User, messageTemplate='??????'} ]
2回答
-
简先生
提问者
2017-10-09
依然报错
012017-10-09 -
老卫
2017-10-08
看错误信息,说的是 Validation failed (数据校验失败)。比看下你的前台传入的数据,是否和后台的数据结构温和,包括类型、长度等
00
基于Spring Boot技术栈博客系统企业级前后端实战
1296 学习 · 738 问题
相似问题