摘要:alter user 'root'@'localhost' identified with mysql_native_password by '****'; flush privileges; 进入权限后是 mysql-> 这样,输入上面的取修改密码 千万别忘了最后面的分号!!!! ;;;
阅读全文
摘要:初始化未定义的s3被构造器的覆盖了,也就是构造器内的初始化会覆盖类初始化的域。代码来自thinking 练习题的一个大神。
阅读全文
摘要:自己学习git注册了账号,然后当用公司git去剪项目时出现报错,最后在git bash里运行一句命令就好用了:git config --system --unset credential.helper 查到这个资料前看了有需要改注册表,删认证账号等等还有其他方法,这个比较简单。 然后每次用git需要
阅读全文
摘要:百度了下数组的排序和判断相等的util,确实很方便,学习了,在排序那后来发现有点写麻烦了也懒得改了,看起来容易明白点。
阅读全文
摘要:formatDate : function(time) { if(time!=null){ var datetime = new Date(); datetime.setTime(time); var year = datetime.getFullYear(); var month = (datet
阅读全文
摘要:配置新环境时遇到过,原理没太明白但把杀毒软件关闭后再保存就可以通过了。
阅读全文
摘要:StringUtils.isNotBlank("字符串")( Checks if a CharSequence is not empty (""), not null and not whitespace only. StringUtils.isNotBlank(null) = false Stri
阅读全文
摘要:(1) 要统一编码,java工程的编码,txt文本编码,java工程中的java文本编码都统一为utf-8;(2) 利用IO文件流的 InputStreamReader()和OutputStreamWriter()这两个函数对文件进行读取和存储操作 图片是百度截图了别人的笔记,网址当时没复制真的很抱
阅读全文
摘要:// control/Primes.java// TIJ4 Chapter Control, Exercise 4, page 139// Write a program that uses two nested for loops and the modulus operator (%)// to
阅读全文
摘要:1.==Integer n1 = new Integer(47);Integer n2 = new Integer(47); System.out.println(n1 == n2);System.out.println(n1 != n2); 2. equalsclass Value { int i
阅读全文
摘要:Multiple annotations found at this line: - cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'mvc:d
阅读全文
摘要:1、双击Servers视图中的对应的Server,打开Server的属性界面。 2、Timeouts->Start属性中,将值45修改为足够大。 3、保存修改,重启动Tomcat。如果仍然报Timeout错误,继续上述步骤将Timeouts下的Start值改大。 学习自:https://blog.c
阅读全文
摘要:eg: and a.sort LIKE 0.1
阅读全文