- 博客(35)
- 收藏
- 关注
转载 MySQL2059错误
alter user root@localhost identified by '123456' password expire never;alter user root@localhost identifie...
2019-02-24 22:20:21
176
转载 java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addFilter
java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addFilter at org.apache.tomcat.util.Intr...
2018-03-15 16:43:44
764
转载 final修饰的Map List可以更改内部的值
public static void main(String[] args) { final Integer integer = new Integ...
2018-02-02 17:06:20
3000
转载 Random和Math.random()简单总结
1.Random作为一个类,nextInt是它的方法,可以通过设置nextInt方法的参数限定产生随机数的范围,例如这样:System.out.println(random.nextInt(100));...
2018-01-30 17:32:40
889
转载 测试POI的formula方法
点击(此处)折叠或打开 public static void formula() throws Exception{ ...
2018-01-30 16:22:57
1116
转载 POI常用方法
点击(此处)折叠或打开 public static void main(String[] args) throws IOException { ...
2018-01-30 15:25:15
203
转载 json数组导出到Excel
导出方法 点击(此处)折叠或打开 public static JSONObject createExcel(String src, JSONAr...
2018-01-30 09:46:48
537
转载 "javax.servlet.http.HttpServlet" was not found on the Java Build Path
JavaWeb:报错信息The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 原来Java...
2017-10-14 18:48:42
134
转载 Got fatal error 1236 from master when reading data from binary log
Got fatal error 1236 from master when reading data from binary log: 'Slave can not handle replication events with ...
2017-08-25 14:18:46
1303
转载 ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'
ERROR 1044 (42000): Access denied for user ''@'localhost' to database 'mysql'原因:mysql数据库的user表里,存在用户名为空的账户即匿名账...
2017-08-25 11:12:05
166
转载 为什么java不推荐使用vector
从网上各处搜集的知识整理出来1.因为vector是线程安全的,所以效率低,这容易理解,类似StringBuffer2.Vector空间满了之后,扩容是一倍,而ArrayList仅仅是一半3.Vector分配内存的时候...
2017-08-16 21:46:27
1477
转载 String、StringBuffer与StringBuilder之间区别
1.执行速度:StringBuilder> StringBuffer > String 2. String <(StringBuffer,StringBuilder)的原因 ...
2017-08-16 21:34:49
85
转载 为什么在static方法中不能有this,也不能有super
因为static方法和类的实例(对象)是两码事,它只在类装载的时候(即编译的时候或者javac命令的时候)初始化,被称作类级变量(属于类);而类的实例是在程序运行的时候(即Java命令的时候)初始化,被称作对象级变量(属于...
2017-08-16 14:56:25
1344
转载 为什么super(…)或this(…)调用语句只能作为构造函数中的第一句出现?
class A { A() { System.out.println("You call super class non-args constructor!");...
2017-08-16 13:58:14
1647
转载 为什么super(…)和this(…)调用语句不能同时在一个构造器中出现
构造函数必须出现在第一行上。所以,注定了你只能调用一个构造函数。默认的,父类的或者本类的其它构造,你自己选一个。 ...
2017-08-16 13:45:14
1296
转载 No enclosing instance of type Outer is accessible.
No enclosing instance of type Outer is accessible. Must qualify the allocation with an enclosinginstance of ty...
2017-08-15 15:01:44
131
转载 eclipse设置jsp字符编码
点击Windows,选中Preferences,找到Web菜单下的JSP Files,修改Encoding为ISO 10646/Unicode(UTF-8)即可 ...
2017-08-12 16:59:35
111
转载 Loading class `com.mysql.jdbc.Driver
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. ...
2017-08-11 20:34:33
131
转载 MAVEN提示invalid LOC header (bad signature)
Caused by: java.util.zip.ZipException: invalid LOC header (bad signature)at java.util.zip.ZipFile.read(Native Me...
2017-08-06 11:17:40
133
转载 MySQL server PID file could not be found!
root@s1 Downloads]# service mysql restartMySQL server PID file could not be found! [FAILED]...
2017-08-01 13:32:56
105
转载 Error 1045(28000) Access Denied for user 'root'@'localhost'
Error 1045(28000) Access Denied for user 'root'@'localhost'1.修改my.ini配置文件,找到[mysqld]一行,在下面添加skip-grant-ta...
2017-07-23 13:02:53
135
转载 国内linux apt-get sources.list 163 正规源
deb http://mirrors.163.com/ubuntu/ precise main universe restricted multiverse deb-src http://mirrors.16...
2017-07-20 20:02:49
216
转载 设计模式学习
作者:Pickle 出处:http://www.cnblogs.com/wxisme/ 设计模式总结 设计模式(Design Pat...
2017-05-21 16:42:36
260
转载 JAVA动态代理
http://www.cnblogs.com/flyoung2008/p/3251148.htmlhttp://www.cnblogs.com/jqyp/archive/2010/08/20/1805041.html ...
2017-05-20 16:31:46
69
转载 如果要增加新的问题及其答案,能否仅修改资源文件就实现增加新的问题
1)修改strings.xml <string-array name="questions"> <item>这个问题无法解决吗?:1</item...
2017-04-12 20:14:57
224
转载 问题描述已经分离在资源文件中,如何将answer也分离在资源文件中?
1)修改strings.xml <string name="question_oceans">1The Pacific Ocean is larger than the Atlantic Oc...
2017-04-12 20:13:39
232
转载 .增加两个按钮(prev,next)实现问题的遍历
1)修改strings.xml,增加两个按钮和5个问题 <string name="next_button">next one</string> <strin...
2017-04-12 20:12:25
670
转载 除了课堂上介绍的设置的监听器的方法,还有哪些办法实现按钮的响应?
方法一:指定按钮功能 1)Activity_main.xml增加两个按钮: <Button android:layout_width="wrap_conte...
2017-04-12 20:11:17
480
转载 Android开发环境搭建
1.下载JDK:下载地址:http://www.oracle.com/technetwork/java/index.html这里选择下载Java SE(标准版本)即可。 2.安装JDK、配...
2017-04-12 20:09:31
77
转载 用余3码表示十进制数
余3码是一种BCD码,它是由8421码加3后形成的(即余3码是在8421码基础上每位十进制数BCD码再加上二进制数0011得到的)。首先用8421码表示出0~9,再在BCD吗的基础上加0011,则可得到余3码,如下图所示: ...
2017-03-07 21:02:50
12309
转载 Redirecting to /bin/systemctl stop iptables.service
[root@iZ28tjgrsmwZ ~]# service iptables stopRedirecting to /bin/systemctl stop iptables.service?? ...
2017-02-25 08:58:45
1902
转载 [INS-07003] 访问 BeanStore 时出现意外错误
[INS-07003] 访问 BeanStore 时出现意外错误操作步骤:1.右键"计算机"的属性2.点击"高级系统设置"3.点击"环境变量"4.如果你的环境变量中配置了"CLASSPATH",请把"CL...
2017-02-05 17:26:21
1170
转载 Javascript DOM学习总结
1. 节点及其类型: 北京1). 元素节点2). 属性节点: 元素的属性, 可以直接通过属性的方式来操作.3). 文本节点: 是元素节点的子节点, 其内容为文本.2. ...
2017-02-04 21:58:45
68
转载 全备份情况下,删除控制文件及恢复
测试前:全备份 C:\Users\zhu>rmantarget/ 恢复管理器:Release11.2.0.1.0-Productionon星期一4月1321:15:41...
2015-04-16 19:40:07
261
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人