Hi Jason,

"NoSuchMethodError" appears so many times on this mailing list, and it's
usually caused by another copy of Xerces/XML4J appearing in your classpath.
Try to make xerces.jar (the one you want to use) the first one in your
classpath.

Cheers,
Sandy Gao
Software Developer, IBM Canada
(1-416) 448-3255
[EMAIL PROTECTED]



                                                                                
                                   
                    Jason Rizer                                                 
                                   
                    <[EMAIL PROTECTED]       To:     [EMAIL PROTECTED]          
                            
                    o.com>               cc:                                    
                                   
                                         Subject:     What's wrong with this 
(small) snippet of code?              
                    05/23/2001                                                  
                                   
                    04:26 PM                                                    
                                   
                    Please respond                                              
                                   
                    to                                                          
                                   
                    xerces-j-user                                               
                                   
                                                                                
                                   
                                                                                
                                   



Hello.

Xerces is throwing a java.lang.NoSuchMethodError
exception at me and I can't figure out why.  The
offending snippet of code is as follows:

ElementImpl node = new ElementImpl( );
DocumentImpl m_node = new DocumentImpl( );
node = ((Document) m_node).importNode( node, deep );

The third line throws the exception, but I just can't
figure out what the problem is.  I'm using xerces
1.2.1.  Anyone know what my problem is?

-Jason

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to