摘要: 手动解压JDK的压缩包,然后设置环境变量 1.在/usr/目录下创建java目录 [root@localhost ~]# mkdir/usr/java[root@localhost ~]# cd /usr/java 2.下载jdk,然后解压 [root@localhost java]# curl - 阅读全文
posted @ 2018-07-16 16:12 HelloWorld1815 阅读(240) 评论(0) 推荐(0) 编辑
摘要: xshell(xshell5)以及其他终端中文乱码的原因无非有三种 (1)Linux系统的编码问题 (2)xshell终端的编码问题 (3)两端的语言编码不一致 1、Linux系统的编码问题 (1) 执行locale命令查看系统语言 (2)设置系统环境变量LANG为en_US.UTF-8: expo 阅读全文
posted @ 2018-07-15 12:32 HelloWorld1815 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 一、CentOS 6.x字符界面安装图形界面方法 1、配置好yum源,可以使用光盘镜像源,也可以使用网络源都可以(1)配置本地光盘镜像源方法 [root@centos6 ~]# cd /etc/yum.repos.d/ [root@centos6yum.repos.d]# mkdir back [r 阅读全文
posted @ 2018-07-15 11:51 HelloWorld1815 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 去掉时间跟空字符串的比较 https://blog.csdn.net/husong_/article/details/70156888 或者 https://blog.csdn.net/daniel_fei/article/details/60883476 阅读全文
posted @ 2018-06-13 18:43 HelloWorld1815 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 在Spring管理的web项目里,配置好之后,就可以直接通过@Autowire自动注入获得service; 但是在普通Java类中使用service或者dao就会报空指针异常,因为这个普通类不在Spring的管理下,所以不能使用Spring来注入。 下面讲一下一个普通的Java类如何使用servic 阅读全文
posted @ 2018-06-13 14:36 HelloWorld1815 阅读(1404) 评论(0) 推荐(1) 编辑
摘要: 莫名其妙就出错 did not find a matching property (tomcat+Eclipse 报错) 的解决方案 https://www.cnblogs.com/bingzisky/p/3260027.html 或者是 解决方案见 https://blog.csdn.net/gj 阅读全文
posted @ 2018-06-12 11:28 HelloWorld1815 阅读(196) 评论(0) 推荐(0) 编辑
摘要: /* begin禁用微信分享功能 */ function onBridgeReady() { WeixinJSBridge.call('hideOptionMenu'); } if (typeof WeixinJSBridge == "undefined") { if (documen... 阅读全文
posted @ 2018-06-11 12:06 HelloWorld1815 阅读(388) 评论(0) 推荐(0) 编辑
摘要: 如:在父工程中引入了struts-core,hibernate-core,发现jar包是有冲突的。javassist存在版本上冲突。 方法一: ok后,pom.xml文件中那个dependency里会多出一个exclusions标签来锁定想要锁定的包。 方法二:在pom.xml文件中的depende 阅读全文
posted @ 2017-10-16 18:26 HelloWorld1815 阅读(332) 评论(0) 推荐(0) 编辑
摘要: springmvc-web --> --> index.html --> index.htm --> index.jsp --> default.html --> default.htm --> default.jsp --> --> contextConfigLocation classpath:/applicationCon... 阅读全文
posted @ 2017-10-12 16:32 HelloWorld1815 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 1.Xstream简介; 特点: 简化的API; 无映射文件; 高性能,低内存占用; 整洁的XML; 不需要修改对象;支持内部私有字段,不需要setter/getter方法,final字段;非公有类,内部类;类不需要默认构造器,完全对象图支持.维护对象引用计数,循环引用. i 提供序列化接口; 自定 阅读全文
posted @ 2017-10-12 10:17 HelloWorld1815 阅读(455) 评论(0) 推荐(0) 编辑