Java.lang.NoSuchFieldError: LUCENE_3_6 After upgrade to ES 1.4.0


Just upgraded ES cluster to 1.4.0 and my existing app fails with "java.lang.NoSuchFieldError: LUCENE_3_6". The java project was updated to use elasticsearch-1.4.0.jar, and includes a pile of lucene-*-4.6.1 jars.

The exception occurs in the ES Transport initialization:

Settings settings = ImmutableSettings.settingsBuilder().put("", esClusterName).build();
client = new TransportClient(settings).addTransportAddress(new InetSocketTransportAddress("", 9300))

I have removed all old elasticsearch and lucene jars from the environment, but the problem persists.

Any suggestions?