-Re: SnappyException even though the avro-tools JAR is present
Terry Healy 2013-02-04, 16:58
This is within snappy-java-22.214.171.124.jar (version may vary - that's where
I found it). You will need to add that .jar to your classpath.
On 01/31/2013 10:17 PM, Public Network Services wrote:
> I am trying to run some sample code from the Avro 1.7.3 distribution
> and, for the weather-snappy.avro file, the following exception occurs:
> Exception in thread "main" java.lang.NoClassDefFoundError:
> at org.apache.avro.file.DataFileStream.<init>(DataFileStream.java:84)
> . . .
> The above message persists even after adding avro-tools-1.7.3.jar to the
> project classpath.
> So, what is the easy way out of this? :-)