Dan Filimon 2013-07-01, 13:41
Dan Filimon 2013-07-02, 07:22
Are you certain that only the correct version of Avro is on the
classpath when compiling? Perhaps try running javac on the file from
the command line, constructing the classpath by hand, to be certain.
On Tue, Jul 2, 2013 at 12:22 AM, Dan Filimon
<[EMAIL PROTECTED]> wrote:
> I got the same code to work using Avro pre-1.7.3. But why isn't it working
> All the JARs seem to be the right version.
> On Mon, Jul 1, 2013 at 4:41 PM, Dan Filimon <[EMAIL PROTECTED]>
>> I followed the instructions at  but am unable to compile the schemas I
>> The problem is casting from Object to another type and it looks like it's
>> the same as here .
>> For example:
>> this.device = data().deepCopy(fields().schema(), other.device);
>> The RHS is of type Object.
>>  mentions that the problem is with Maven's Avro plugin but I can't
>> figure out how to fix it. I can't even get it working when compiling the
>> sources by hand:
>> java -jar
>> compile schema src/main/avro/ src/main/java
>> Please help!
>>  http://avro.apache.org/docs/current/gettingstartedjava.html