Loading

上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页
摘要: 点击帮助,Install New Software... 地址为https://p3c.alibaba.com/plugin/eclipse/update 然后选择安装, 一路next即可 阅读全文
posted @ 2019-01-10 14:22 坠月川 阅读(383) 评论(0) 推荐(0)
摘要: 在mysql的mysql数据库下: 修改配置文件, 将 bind-address=127.0.0.1 注释掉 文件路径: /etc/mysql/my.cnf /etc/mysql/mysql.conf.d/mysqld.cnf (5.7或5.6以上版本) 最后修改系统防火墙, 不要把3306 挡掉就 阅读全文
posted @ 2019-01-10 14:22 坠月川 阅读(125) 评论(0) 推荐(0)
摘要: 场景: 安卓开发时在主线程访问网络解决: 将访问网络的代码使用Thread操作 阅读全文
posted @ 2019-01-09 23:30 坠月川 阅读(9378) 评论(0) 推荐(0)
摘要: 异常: Recieved SHUTDOWN signal from Resourcemanager ,Registration of NodeManager failed, Message from ResourceManager: NodeManager from localhost doesn' 阅读全文
posted @ 2019-01-09 23:30 坠月川 阅读(906) 评论(0) 推荐(0)
摘要: 场景: eclipse链接不上阿里云hadoop解决: 将hadoop的配置文件中的ip改为内网IP即可 阅读全文
posted @ 2019-01-09 23:30 坠月川 阅读(1631) 评论(0) 推荐(0)
摘要: 场景: 在使用spring整合hibernate事务时报错解决: spring-aop中已经包含aopaliance,删除多余的jar包 阅读全文
posted @ 2019-01-09 23:29 坠月川 阅读(963) 评论(0) 推荐(0)
摘要: 场景: 在使用spring整合hibernate调用的HibernateTemplate时报错解决: 在spring配置文件中添加事务的配置 阅读全文
posted @ 2019-01-09 23:29 坠月川 阅读(450) 评论(0) 推荐(0)
摘要: 异常: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driv 阅读全文
posted @ 2019-01-09 23:29 坠月川 阅读(190) 评论(0) 推荐(0)
摘要: Java提供了 java.lang.ref包,该包下的类均与垃圾回收机制相关 先介绍Java对象的集中引用类型 1.强引用 强引用是最常见的,创建对象就是强引用,如 String a = new String("1"); 无论系统内存是否紧张,只要该对象还存在强引用就不会被垃圾回收机制回收 2.软引 阅读全文
posted @ 2019-01-09 23:05 坠月川 阅读(407) 评论(0) 推荐(0)
摘要: 概述 注解时在Java5中开始引入的概念。可以将注解想象成标签,给指定的方法、类、变量、参数、包等贴上一个标签。 @Override 注解就是告诉编译器,这个方法是重写的父类方法。 还有@Test、@Deprecated等等 自定义注解 自己定义注解的语法也很简单: 然后就可以使用该注解了。 注意, 阅读全文
posted @ 2019-01-09 19:27 坠月川 阅读(382) 评论(0) 推荐(0)
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 38 下一页