发现一个API报了错: 一、HV000030: No validator报这个错,一般有两种情况:(1)约束与对象属性不匹配,譬如在String 上使用javax.validation.constraints.Future就会报这个错(2)真的是没有相关的Validator 一下子觉得很奇怪,难道j ...
分类:
编程语言 时间:
2020-01-12 18:31:19
阅读次数:
137
题目如下: Given a binary tree, return the sum of values of nodes with even-valued grandparent. (A grandparent of a node is the parent of its parent, if it ...
分类:
其他好文 时间:
2020-01-12 17:53:44
阅读次数:
56
MinGW分为较早开发的MinGW32和之后为编译64位程序开发的MinGW-w64,MinGW32只能编译32位的程序,而mingw64不仅能编译64位程序,也能编译32位程序,还能进行交叉编译,即在32位主机上编译64位程序,在64位主机上编译32位程序。 由于用的window10 企业版64位 ...
分类:
其他好文 时间:
2020-01-12 11:45:38
阅读次数:
83
把项目移动到新的运行环境时,明明包都导入了,项目也放进tomcat里面了,但是还会找不到该类 解决方法:项目右键选择底下的Properties ->project facets ->java 把Runtimes里面的Apache Tomcat的勾打上 这样才算把tomcat放进类路径里面 ...
分类:
数据库 时间:
2020-01-11 15:21:47
阅读次数:
83
忘了在哪看到一位编程大牛调侃,他说程序员每天就做两件事,其中之一就是处理字符串。相信不少同学会有同感。 几乎任何一种编程语言,都把字符串列为最基础和不可或缺的数据类型。而拼接字符串是必备的一种技能。今天,我跟大家一起来学习Python拼接字符串的七种方式。 1、来自C语言的%方式 print('%s ...
分类:
编程语言 时间:
2020-01-11 13:35:02
阅读次数:
100
Question: 【SpringBoot】Spring Boot Configuration Annotation Processor not found in classpath sloution: maven方式: grade方式: ...
分类:
编程语言 时间:
2020-01-11 13:20:00
阅读次数:
128
1. nginx报错 nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid" 2. 解决方法 执行/usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/ng ...
分类:
其他好文 时间:
2020-01-10 01:19:02
阅读次数:
93
报错内容:remote: Repository not found. fatal: repository 'https://github.com/pete/first_app.git/' not found 解决方法:三个命令中的一个git config --unset-all credential ...
分类:
其他好文 时间:
2020-01-09 20:59:37
阅读次数:
74
前言: 在用IE浏览器时访问tomcat项目时,页面报400错误,后台错误: 在网上查得资料时因为Tomcat版本在7以后会对http请求进行验证 解决办法: 1.使用encodeURI函数,因为IE浏览器无法对URL自动转义 2.JS使用post请求 ...
分类:
其他好文 时间:
2020-01-09 18:37:45
阅读次数:
64