• Post Reply Bookmark Topic Watch Topic
  • New Topic

JAXB processing XJC compilation errors  RSS feed

Srikar Kummamuri
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!