Re: [jnc-users] IllegalAccessError
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2007-09-06 09:33:24
|
Hey Ariel chosen forsaken wrote: > Hi Marco, > > I was having trouble with like this : > > Exception in thread "main" java.lang.NoClassDefFoundError: > org.xml.sax.helpers.XMLReaderFactory > > so I added this code to my class : > > static { > XMLReaderFactory.class.getName(); > } > > but when I compiled my class, I got an error: During compilation or later, during execution of the compiled binary? > Caused by: java.lang.IllegalAccessError: sv.tools.conf.Configuration > can't access class org.xml.sax.helpers.XMLReaderFactory Can you post a minimal example so I can try to reproduce that? Where comes "sv.tools.conf.Configuration" from? Is this the whole exception? > Is this a JNC or GCJ problem? Thanks. JNC is the bundle of - the JNC GUI, - various precompiled cross and non-cross GCJs and - some enhancements of GCJ (partial classpath exclusion, AWT/Swing support, jar compilation: only referenced classes, ...). So, in this matter (your XML problem), JNC and GCJ is the same thing. Or respectively, it's a GCJ issue since JNC doesn't touch XML handling of GCJ. Marco > > > Ariel > > Send instant messages to your online friends http://uk.messenger.yahoo.com > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > javaCompiler-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javacompiler-users |