Actually, I'm pretty sure I found the problem. We created a persistence
layer to encapsulate the OJB calls. We built that persistence layer into a
jar to be shared among different projects. I had to rebuild that jar
against the OJB-0.9.7 (and commons-lang) jar, and that seems to have gotten
me going!
I can't believe that I spent most of the day to figure that out! ;-{
Dave
Thomas Mahler
<[EMAIL PROTECTED] To: OJB Users List
<[EMAIL PROTECTED]>
> cc:
Subject: Re: Problem with 0.9.7
12/09/2002 03:42
PM
Please respond
to "OJB Users
List"
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
[EMAIL PROTECTED] 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
> [EMAIL PROTECTED]
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]
>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]
>
>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>