摘要: package com.autonavi.tinfo.t1.traffic.pub.openlr.util;import java.util.Collections;import java.util.List;import java.util.concurrent.Executors;import 阅读全文
posted @ 2016-06-20 19:54 xuxu_dragon 阅读(288) 评论(0) 推荐(0) 编辑
摘要: #!/bin/sh#zookeeper addresszkAddress=100.69.209.30:2181,100.69.207.28:2181,100.69.193.87:2181#connection timeout in MillsecondsconnectTimeOut=60000#se 阅读全文
posted @ 2016-06-20 19:44 xuxu_dragon 阅读(609) 评论(0) 推荐(0) 编辑
摘要: --排除 <?xml version="1.0" encoding="UTF-8"?><assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://ww 阅读全文
posted @ 2016-06-06 21:44 xuxu_dragon 阅读(464) 评论(0) 推荐(0) 编辑
摘要: System.getProperty("user.dir") + "\\Mysettings.properties";//该方法在Alimonitor里取不到绝对路径 改成如下方法便可解决此问题: /** * 得到jar配置文件路径 * */ String GetPropertyFilePath() 阅读全文
posted @ 2016-03-22 20:30 xuxu_dragon 阅读(2288) 评论(0) 推荐(0) 编辑
摘要: 尝试运行出错,出错原因:/tmp/tmp_1458557049226652 exit 1, Exception in thread "main" java.lang.UnsupportedClassVersionError: autonavi/tinfo/nagiosMonitor/Main : U 阅读全文
posted @ 2016-03-22 16:15 xuxu_dragon 阅读(355) 评论(0) 推荐(0) 编辑
摘要: String proFilePath = System.getProperty("user.dir") + "\\Mysettings.properties"; Properties prop = new Properties(); MonitorProperties monitorProperti 阅读全文
posted @ 2016-03-21 15:33 xuxu_dragon 阅读(387) 评论(0) 推荐(0) 编辑
摘要: Mysql-5.7.10在免安装后启动服务失败。 查看日志得到如下: 2016-02-19T03:41:05.557095Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_ 阅读全文
posted @ 2016-02-19 15:06 xuxu_dragon 阅读(3329) 评论(0) 推荐(0) 编辑
摘要: spring HibernateValidator 验证 子类不起作用,在要验证的子类前加上@Valid即可。 public class UserInfo { private int Id; @Valid private AccontInfo accountInfo; @NotEmpty(messa 阅读全文
posted @ 2016-02-17 12:23 xuxu_dragon 阅读(1374) 评论(0) 推荐(0) 编辑
摘要: Eclipse 启动Tomcat后web项目的classes的子文件夹中没有calss文件。 经网上查得以下方法可解决 把properties属性里的java compiler-->building-->abort build when build path errors occur 前的勾去掉了。 阅读全文
posted @ 2016-02-17 11:14 xuxu_dragon 阅读(1626) 评论(0) 推荐(0) 编辑
摘要: 在CMD命令行中启动运行startup.bat,启运程序总是闪退,查看日志发现如下错误:26-Jan-2016 18:12:34.463 SEVERE [main] org.apache.coyote.AbstractProtocol.init Failed to initialize end po... 阅读全文
posted @ 2016-01-26 18:29 xuxu_dragon 阅读(3800) 评论(0) 推荐(0) 编辑