You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Da...@Equifax.com on 2002/12/09 20:39:46 UTC

Problem with 0.9.7

I just upgraded to 0.9.7 from 0.9.4 and am encountering a strange problem.
When deploying my app under JBoss 3.0.1 (using a stand-alone OJB
implementation; NOT JNDI) I receive a 'java.lang.NoSuchMethodError:
org.apache.ojb.odmg.OJB.getInstance()Lorg/apache/ojb/odmg/OJB;
      at
com.imperitek.util.persist.ojb.OjbRepository.<init>(OjbRepository.java:123)
when initializing the servlet. I also encounter the same error running unit
tests under Eclipse.

I'm running on Win2000 with JSDK1.4. This all works fine under 0.9.4. If
anyone has a clue what could be wrong here I would sure appreciate it. This
has been driving me up the wall all morning. The OJB class obviously still
has a static getInstance() method. Why can't I seem to see it? And yes, my
classpath has been modified to point to the OJB0.9.7 jar.

TIA,
Dave Derry


This message contains information from Equifax Inc. which may be
confidential and privileged.  If you are not an intended recipient, please
refrain from any disclosure, copying, distribution or use of this
information and note that such actions are prohibited.  If you have
received this transmission in error, please notify by e-mail
postmaster@equifax.com.



Re: Problem with 0.9.7

Posted by Thomas Mahler <th...@apache.org>.
I had similar problems with eclipse and IBM WSAD.
We could not use jar files compiled outside eclispe for what reason so ever.
So you could try to build a ojb jar from after compiling the sob source 
distro under eclipse.

cheers,
Thomas

Dave.Derry@Equifax.com wrote:
> I just upgraded to 0.9.7 from 0.9.4 and am encountering a strange problem.
> When deploying my app under JBoss 3.0.1 (using a stand-alone OJB
> implementation; NOT JNDI) I receive a 'java.lang.NoSuchMethodError:
> org.apache.ojb.odmg.OJB.getInstance()Lorg/apache/ojb/odmg/OJB;
>       at
> com.imperitek.util.persist.ojb.OjbRepository.<init>(OjbRepository.java:123)
> when initializing the servlet. I also encounter the same error running unit
> tests under Eclipse.
> 
> I'm running on Win2000 with JSDK1.4. This all works fine under 0.9.4. If
> anyone has a clue what could be wrong here I would sure appreciate it. This
> has been driving me up the wall all morning. The OJB class obviously still
> has a static getInstance() method. Why can't I seem to see it? And yes, my
> classpath has been modified to point to the OJB0.9.7 jar.
> 
> TIA,
> Dave Derry
> 
> 
> This message contains information from Equifax Inc. which may be
> confidential and privileged.  If you are not an intended recipient, please
> refrain from any disclosure, copying, distribution or use of this
> information and note that such actions are prohibited.  If you have
> received this transmission in error, please notify by e-mail
> postmaster@equifax.com.
> 
> 
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 
>