-Re: Cannot compile generated classes in Java
Dan Filimon 2013-07-02, 07:22
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]>wrote:
> 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