zookeeper maven 构建失败

测试代码:https://github.com/taobao/taokeeper/blob/master/taokeeper-research/src/main/java/com/taobao/taokeeper/research/sample/JavaApiSample.java

missing jmxtools 解决方法

 

 

<dependency>
			<groupId>org.apache.zookeeper</groupId>
			<artifactId>zookeeper</artifactId>
			<version>3.4.4</version>
			<exclusions>
				<exclusion>
					<groupId>javax.jms</groupId>
					<artifactId>jms</artifactId>
				</exclusion>
				<exclusion>
					<groupId>com.sun.jdmk</groupId>
					<artifactId>jmxtools</artifactId>
				</exclusion>
				<exclusion>
					<groupId>com.sun.jmx</groupId>
					<artifactId>jmxri</artifactId>
				</exclusion>
			</exclusions>
		</dependency>		

你可能感兴趣的:(zookeeper)