users@jaxb.java.net

Problem with JAXB ANT task

From: Bryan Dollery (GreenPulse) <"Bryan>
Date: Mon, 10 Feb 2003 03:00:54 +1300

This message was originally submitted by Bryan_at_GREENPULSE.COM to the
JAXB-INTEREST list at JAVA.SUN.COM. If you simply forward it back to the list,
using a mail command that generates "Resent-" fields (ask your local user
support or consult the documentation of your mail program if in doubt), it will
be distributed and the explanations you are now reading will be removed
automatically. If on the other hand you edit the contributions you receive into
a digest, you will have to remove this paragraph manually. Finally, you should
be able to contact the author of this message by using the normal "reply"
function of your mail program.

----------------- Message requiring your approval (31 lines) ------------------
Hi guys,

I've got a problem with the ant task. Is it meant to work?

I'm getting this message:

xjc
Compiling file:/D:/Dev/play/data/play.xsd
java.lang.IllegalAccessError: tried to access method
org.apache.xerces.util.ObjectFactory.findClassLoader()Ljava/lang/ClassLoade
r; from class org.apache.xerces.parsers.XMLGrammarPreparser

According to the javadocs for IllegalAccessError:
Normally, this error is caught by the compiler; this error can only occur
at run time if the definition of a class has incompatibly changed.

Any ideas?

Cheers,

Bryan

  b r y a n d o l l e r y
        g r e e n p u l s e
      o-------------------->
      | s o f t w a r e
      | a r c h i e c t s

+64 (0)21 330607
www.GreenPulse.com