Well, I guess I am going to have to admit to being ignorant bastard ;)  What caused 
this problem is that I had another Eclipse project linked into my existing project 
that had an 0.9.5 version OJB in it.  The eclipse class loader was picking up this 
class instead and mixing it with 0.9.8 classes, which seems to have been the root of 
all my problems...d'oh!

Hopefully, this post will keep someone else from looking like a complete idiot ;)

p.s.
Props out to my boy Eric Ford for helping me figure this one out.

Scott

> -----Original Message-----
> From: Weaver, Scott [mailto:[EMAIL PROTECTED]]
> Sent: Friday, January 10, 2003 10:59 AM
> To: '[EMAIL PROTECTED]'
> Subject: OJB.getInsatnce() throws NoSuchMethodError
> 
> I just started using OJB 0.9.8 and I am getting this error when using
> ODMG:
> 
> 
> java.lang.NoSuchMethodError:
> org.apache.ojb.odmg.OJB.getInstance()Lorg/odmg/Implementation;
>       at TestOJB.main(TestOJB.java:20)
> Exception in thread "main"
> 
> I have read about this issue in the mail archive
> 
> http://www.mail-archive.com/[email protected]/msg02393.html
> 
> But nothing I do seems to help.  I am running under eclipse 2.0.2, JDK
> 1.4.1 and Win2k.  I have rebuilt the entire project under eclipse, and
> still no dice.  I have even gone as far as to strip everything out of the
> OJB class, and I still get the same error.  I have also tried adding my
> own static method, "sayHello()". and it fails the same manner as
> getInstance() does.
> 
> I never had this problem with 0.9.7.
> 
> Someone please help me before I go insane.
> 
> Thanks,
> Scott

Reply via email to