工具: <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>2.4</version> </dependency> 定义接口 package com.snow.tailer; public interface TailerListener { /** * The tailer will c
1.百度kafka+zookeeper+windows配置 1.1 zookeeper配置 dataDir=/tmp/zookeeper # the port at which the clients will connect clientPort= # disable the per-ip limit on the number of connections since this is a non-production config maxClientCnxns= 1.2 kafka ser
Java SE Development Kit Downloads http://www.oracle.com/technetwork/java/javase/overview/index.html Java SE Development Kit 7 Downloadshttp://www.oracle.com/technetwork/cn/java/javase/downloads/jdk7-downloads-1880260.html Java Platform (JDK) 8u11http
windows java -classpath .;lib/* com.Test linux java -classpath .:ib/* com.Test "."代表当前路径,这是java执行时的默认路径,所以在执行了classpath后需要手工加上这个路径,否则会提示找不到要执行的类. ";"用来隔开两个路径 "lib/*"表示lib下的所有jar文件,如果只使用某一个jar,可以具体指定,如"lib/XX.jar" wi
原文地址:http://blog.csdn.net/yingxiake/article/details/51472810 出现问题描述: 1.Could not get a resource from the pool, Connection refused: connect windows Java这边客户端链接被拒接了,想想问题 1.Vmware里面的linux所安装的redis已经正常启动 2.在windows用ssh客户端链接linux可以操作redis 3.linux防火墙已经关闭 4