org.w3c.dom and org.xml.sax
TEIXOEIRA@terra.es
TEIXOEIRA@terra.es
Fri Jan 13 07:59:00 GMT 2006
Hi!
I want to use org.w3c.dom and org.xml.sax classes. I know I have to use -l-org-w3c-dom linking option but, where can I find the actual
libs? I mean, I've compiled an aplication that uses javax.xml.parsers.DocumentBuilderFactory and linked it (without the previously
mentioned option) to libgcj.a (from Mohan's) but, when I execute it, it throws:
Exception in thread "main" java.lang.NoClassDefFoundError:
while resolving class: javax.xml.parsers.DocumentBuilderFactory
at 0x0042177e (Unknown Source)
..........
at 0x7c816d4b (Unknown
Source)
Caused by: java.lang.ClassNotFoundException: gnu.xml.dom.DomDocumentBuilderFactory not found in gnu.gcj.runtime.SystemClassLoader
{urls=[file:.\,file:./], p
arent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at 0x0042177e (Unknown Source)
......
at 0x00523654 (Unknown Source)
...15 more
How can I make it work??
Kind regards
Prueba el Nuevo Correo Terra; Seguro, Rápido, Fiable.
More information about the Java
mailing list