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]>

Reply via email to