users@jaxb.java.net

IllegalAccessError when compiling under intelliJ

From: Jason Tang <jason.tang_at_UBC.CA>
Date: Tue, 03 Dec 2002 14:58:58 -0700

Hi,

when I tried to ant compile the sample 1, I got the following error...
Compiling file:/C:/jaxb-1.0-beta/examples/users-guide/SampleApp1/po.xsd
java.lang.IllegalAccessError: tried to access method org.apache.xerces.util.ObjectFactory.findClassLoader()Ljava/lang/ClassLoader; from class org.apache.xerces.parsers.XMLGrammarPreparser

but I have no problem compiling in command prompt.

any idea?

Thanks