Skip to main content

Eclipse error java.lang.NoClassDefFoundError: java/util/Arrays/useLegacyMergeSort=true

No replies
tjfbirch
Offline
Joined: 2012-02-22
Points: 0

I am trying to generate the jaxb classes in eclipse from a xsd file and am getting the error: Could not find the main class: java/util/Arrays/useLegacyMergeSort=true. This is with Indigo, windows vista, java version 7 and as far as I know I am using the latest updates for all. I had been generating the jaxb classes okay on this machine a few months ago. I tried adding -Djava.util.Arrays.useLegacyMergeSort=true to my eclipse.ini but with not luck.