IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Java Exception | "Recompile with -Xlint:unchecked for details" - Mapforce 2010 Options · View
sambhav
Posted: Friday, October 30, 2009 8:42:29 AM
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.
island
Posted: Friday, October 30, 2009 9:11:57 AM
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
Users browsing this topic
guest

Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.