Register / Login
EJB and other Java EE Technologies
JAXB processing XJC compilation errors
posted 9 years ago
When I ran XJC on 2 XSD's which cot the same complext type name but placed in 2 different directories, the compiler have throuwn errors.
[ERROR] 'transaction' is already defined
line 25 of file:/C:/schemas_2/wwre/deliveryNotification/WWRE_DeliveryNotification.xsd
[ERROR] (related to above error) the first definition appears here
line 33 of file:/C:/schemas_2/ean.ucc/common/Transaction.xsd
My question is, since the files are being generated in a package structure, how come the compiler is complaining about this?
a class transaction can exsist with same name under 2 different directories right?
JAXB 1.0 External Binding Customization: Binding Duplicate Elements in XML Schema
can't create java objects from schemas using xjc
Unable to import a my package.
hello world code