- 博客(5)
- 收藏
- 关注
转载 Caused by java.lang.ClassNotFoundException javax.xml.bind.ValidationException异常
一、问题描述Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/ValidationExceptionat java.base/java.lang.ClassLoader.defineClass1(Native Method) ~[na:na]at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1009) ~[na:na]at java.base/java.
2020-08-06 22:35:25
866
1
转载 javax.validation.UnexpectedTypeException: HV000030: No validator could be found for constraint
java 验证出现如下错误:javax.validation.UnexpectedTypeException: HV000030: No validator could be found for constraint错误原因 Java实体类中属性是Integer类型,用了NotBlank判断不能为空,而这个注解是判断字符串是否为空3、解决办法 去掉@NotBlank注解、使用@NotNull...
2020-08-06 22:34:05
480
转载 Spring Boot “Whitelabel Error Page“ 踩的坑(依赖问题)
Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Fri Jul 27 14:03:38 CST 2018There was an unexpected error (type=Not Found, status=404).No message available导致这个报错的原因有好几个,刚才有不少朋友也...
2020-08-04 22:55:27
3048
原创 Springboot添加Jsp支持踩的坑(NoSuchMethodError: javax.servlet.http.HttpServletRequest.getHttpServletMapping)
添加jsp支持之前,都运行正常,pom.xml文件中添加依赖后,报错javax.servlet.http.HttpServletRequest.getHttpServletMapping()Ljavax/servlet/http/HttpServletMapping;依赖为:<!-- spring boot 默认视图支持thymeleaf模板引擎,想要使用JSP,下面增加对JSP的支持--> <dependency> &
2020-08-04 10:17:27
588
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人