This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Trying to embed gnu.xml.dom.DomDocumentBuilderFactory


Mohsen Saboorian wrote:
On 4/21/07, Andrew Haley <aph@littlepinkcloud.com> wrote:
Mohsen Saboorian writes:
> On 4/21/07, Andrew Haley <aph-gcc@littlepinkcloud.com> wrote:
> > Mohsen Saboorian writes:
> > > I filled a bug report:
> > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31647
> > >
> > > Andrew, newing DomDocumentBuilderFactory workaround didn't work for
> > > me. Do you know any other workaround ;)?
> >
> > Did you follow my suggestion?
> >
>
> Yes, and there was some entries for both
> gnu.xml.dom.DomDocumentBuilderFactory and gnu.xml.dom.DomImpl.


No, you need the dump for gnu.xml.dom.DomDocumentBuilderFactory and
gnu.xml.dom.DomImpl.  It's *their* dependencies that are causing the
problems.

Andrew.


As you see in attachments, there is no dependency between two classes DomDocumebtBuilderFactory and DomImpl.

But what about NoClassDefFounError in my class in which I explicitly
new'd DomImpl?
Try running under gdb with a breakpoint in the NoClassDefFoundError constructor. You can then walk up the stack a bit and see which class it is looking for.

David Daney

David Daney


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]