[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rakesh R updated ZOOKEEPER-2335:
--------------------------------
    Fix Version/s: 3.5.2
                   3.6.0

> Java Compilation Error in ClientCnxn.java
> -----------------------------------------
>
>                 Key: ZOOKEEPER-2335
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2335
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client, server
>            Reporter: Arshad Mohammad
>            Assignee: Arshad Mohammad
>             Fix For: 3.5.2, 3.6.0
>
>         Attachments: ZOOKEEPER-2335-01.patch, ZOOKEEPER-2335-01.patch
>
>
> There  are some compilation error in latest trunk code.
> {code}
> [javac] 
> D:\gitHome\zookeeperTrunk\src\java\main\org\apache\zookeeper\ClientCnxn.java:49:
>  error: package org.apache.log4j does not exist
>     [javac] import org.apache.log4j.MDC;
>     [javac]                        ^
>     [javac] 
> D:\gitHome\zookeeperTrunk\src\java\main\org\apache\zookeeper\ClientCnxn.java:1108:
>  error: cannot find symbol
>     [javac]             MDC.put("myid", hostPort);
>     [javac]             ^
>     [javac]   symbol:   variable MDC
>     [javac]   location: class ClientCnxn.SendThread
>     [javac] 2 errors
> {code}
> This compilation error got introduced by ZOOKEEPER-2330 patch. This patch 
> used log4j api and log4 dependency has already been removed by ZOOKEEPER-1371



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to