i'm new to web services, i was just trying to generate java classes from my schemas, using xjc ant task. but it always complains.
ant task --------
i have really no idea what's wrong here. any help would be appreciated. thanks in advance.
posted 10 years ago
It looks like you have a conflict between the element name and the type name. JAXB will generate interfaces and classes for both, so they can't have the same name. Try renaming either one of them. For instance, rename the element on your XML Schema like this: