zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li Li <fancye...@gmail.com>
Subject compile in eclipse error
Date Thu, 16 Jan 2014 12:07:48 GMT
I downloaded zookeeper source code of 3.4.5 and use ant to build it successfully
Then I use ant eclipse to generate metadata for eclispe and then import it
but eclipse compile errors:
in AuthFastLeaderElection
Line 115:             switch (type) {

it says Cannot switch on a value of type
AuthFastLeaderElection.ToSend.mType. Only convertible int values,
strings or enum variables are permitted

I am using jdk 1.7.0_update 45 in eclipse and os is unbuntu.

Mime
View raw message