Rank: Newbie
Joined: 10/14/2009 Posts: 7 Location: India
|
Hi, I am trying to map a standard XML document to another standard XSD. Issue is that when I try to complile to generate Java classes using ant, I encounter the following error across all mapped schema elements. [javac] Compiling 537 source files [javac] <path>\<base_class>.java:40: reference to Object is ambiguous, both class com.mapforce.InvoiceDetail.Object in com.mapforce.InvoiceDetail and class java.lang.Object in java.lang match [javac] Object current; [javac] ^ . . . [javac] <path>\<function_class>.java:48: reference to Object is ambiguous, both class com.mapforce.InvoiceDetail.Object in com.mapforce.InvoiceDetail and class java.lang.Object in java.lang match [javac] public Object current() {return current;} [javac] ^ [javac] <path>\<project_name>.java:93: reference to Object is ambiguous, both class com.mapforce.InvoiceDetail.Object in com.mapforce.InvoiceDetail and class java.lang.Object in java.lang match [javac] Object current; [javac] ^
There are 108 suc errors spread across all the schema elements.
I have no customized elements in the same.
Also, likewise in my earlier post, the same worked well with MF2009!
Please advice.
Regards, Sambhav.
|
Rank: Newbie
Joined: 10/28/2002 Posts: 1,283 Location: AT
|
Perhaps you could provide your mapping files including source and target components so that we can generate code and try to reproduce the problem on our side, or contact support directly and provde the aforementioned files https://www.altova.com/support_center.html
|