Build failure with the 0.19.10 version

The code built on 19.4 OK. Trying to migrate to most recent version 19.10

Snippet of ant build failure:

[javac] .../database/Response.java:10: package
org.elasticsearch.common.jackson does not exist

But the only change in build.xml is (- is working original version; + is
new broken version):

But the path does exist:

$ ls ../third_party/elasticsearch-0.19.10/lib
../third_party/elasticsearch-0.19.4/lib
../third_party/elasticsearch-0.19.10/lib:
elasticsearch-0.19.10.jar log4j-1.2.17.jar
lucene-core-3.6.1.jar lucene-memory-3.6.1.jar sigar
jna-3.3.0.jar lucene-analyzers-3.6.1.jar
lucene-highlighter-3.6.1.jar lucene-queries-3.6.1.jar
snappy-java-1.0.4.1.jar

../third_party/elasticsearch-0.19.4/lib:
elasticsearch-0.19.4.jar log4j-1.2.16.jar
lucene-core-3.6.0.jar lucene-memory-3.6.0.jar sigar
jna-3.3.0.jar lucene-analyzers-3.6.0.jar
lucene-highlighter-3.6.0.jar lucene-queries-3.6.0.jar

I've heard that there are issues with other jar files in which embedded
classpath information adversely affects the build.

By the way, the same error also occurs with version 19.9. Only version 19.4
builds with my application, even though I can see the Jackson class within
each of the elasticsearch JAR files.

Thoughts?

Thanks in advance!

--

The Response class doesn't look like an ES class what is using the
'org.elasticsearch.common.jackson' package in your code?
From the ES pom.xml I see that jackson (com.fasterxml.jackson) is
shaded into the org.elasticsearch.common.jackson package.

Martijn

On 2 October 2012 22:41, InquiringMind brian.from.fl@gmail.com wrote:

The code built on 19.4 OK. Trying to migrate to most recent version 19.10

Snippet of ant build failure:

[javac] .../database/Response.java:10: package
org.elasticsearch.common.jackson does not exist

But the only change in build.xml is (- is working original version; + is new
broken version):

But the path does exist:

$ ls ../third_party/elasticsearch-0.19.10/lib
../third_party/elasticsearch-0.19.4/lib
../third_party/elasticsearch-0.19.10/lib:
elasticsearch-0.19.10.jar log4j-1.2.17.jar lucene-core-3.6.1.jar
lucene-memory-3.6.1.jar sigar
jna-3.3.0.jar lucene-analyzers-3.6.1.jar
lucene-highlighter-3.6.1.jar lucene-queries-3.6.1.jar
snappy-java-1.0.4.1.jar

../third_party/elasticsearch-0.19.4/lib:
elasticsearch-0.19.4.jar log4j-1.2.16.jar lucene-core-3.6.0.jar
lucene-memory-3.6.0.jar sigar
jna-3.3.0.jar lucene-analyzers-3.6.0.jar
lucene-highlighter-3.6.0.jar lucene-queries-3.6.0.jar

I've heard that there are issues with other jar files in which embedded
classpath information adversely affects the build.

By the way, the same error also occurs with version 19.9. Only version 19.4
builds with my application, even though I can see the Jackson class within
each of the elasticsearch JAR files.

Thoughts?

Thanks in advance!

--

--
Met vriendelijke groet,

Martijn van Groningen

--

My fault. I had wanted to create the smallest possible application and use
only the classes provided in the Elasticsearch distribution. I had not
noticed that the Jackson stream parser had been moved slighlty.

All is building and working fine now.

On Tuesday, October 2, 2012 4:41:47 PM UTC-4, InquiringMind wrote:

The code built on 19.4 OK. Trying to migrate to most recent version 19.10

Snippet of ant build failure:

[javac] .../database/Response.java:10: package
org.elasticsearch.common.jackson does not exist

But the only change in build.xml is (- is working original version; + is
new broken version):

But the path does exist:

$ ls ../third_party/elasticsearch-0.19.10/lib
../third_party/elasticsearch-0.19.4/lib
../third_party/elasticsearch-0.19.10/lib:
elasticsearch-0.19.10.jar log4j-1.2.17.jar
lucene-core-3.6.1.jar lucene-memory-3.6.1.jar sigar
jna-3.3.0.jar lucene-analyzers-3.6.1.jar
lucene-highlighter-3.6.1.jar lucene-queries-3.6.1.jar
snappy-java-1.0.4.1.jar

../third_party/elasticsearch-0.19.4/lib:
elasticsearch-0.19.4.jar log4j-1.2.16.jar
lucene-core-3.6.0.jar lucene-memory-3.6.0.jar sigar
jna-3.3.0.jar lucene-analyzers-3.6.0.jar
lucene-highlighter-3.6.0.jar lucene-queries-3.6.0.jar

I've heard that there are issues with other jar files in which embedded
classpath information adversely affects the build.

By the way, the same error also occurs with version 19.9. Only version
19.4 builds with my application, even though I can see the Jackson class
within each of the elasticsearch JAR files.

Thoughts?

Thanks in advance!

--