How do I work around this? (yes I know it is better to author xsd, but
in this particular case I cannot):
-phil
[apt] [loading C:\java\jdk50\jre\lib\rt.jar(java/lang/Number.class)]
[apt] error: java.util.Currency does not have a no-arg default
constructor
[apt] this problem is related to the following location:
[apt] at java.util.Currency (Unknown Source)
[apt] at com.tickets.common.util.Money.getCurrency
(Unknown Source)
[apt] at com.tickets.common.util.Money (Unknown Source)
[apt] at
com.tickets.account.domain.BaseAccountEntry.getAmount (Unknown Source)
[apt] at com.tickets.account.domain.BaseAccountEntry
(Unknown Source)
[apt] at com.tickets.account.domain.AccountEntry
(Unknown Source)
[apt] at com.tickets.account.domain.Account.getEntries
(Unknown Source)
[apt] at com.tickets.account.domain.Account (Unknown
Source)
[apt] at com.tickets.patron.domain.Party.getAccounts
(Unknown Source)
[apt] at com.tickets.patron.domain.Party (Unknown Source)
[apt] at
com.tickets.patron.ws.jaxws.PersistPatron.arg0(PersistPatron.java:17)
[apt] at
com.tickets.patron.ws.jaxws.PersistPatron(PersistPatron.java:14)
[apt] [loading C:\java\jdk50\jre\lib\rt.jar(java/util/Locale.class)]