Trying to embed gnu.xml.dom.DomDocumentBuilderFactory

David Daney ddaney@avtrex.com
Sat Apr 21 17:37:00 GMT 2007


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /