This is because it is finding the jdk ORB classes instead of the yoko
ones... If you have the 2 yoko orb jars in the bootclasspath or the
java.endorsed.dirs setting then it should be fine...

I haven't myself worked with eclipse so don't know where to set them...

- Balaji

-----Original Message-----
From: Lukas Zapletal [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 17, 2007 3:49 AM
To: yoko-dev@incubator.apache.org
Subject: Eclipse and Yoko examples

Hello,

we are trying to run Yoko examples within the Eclipse IDE and we are
getting an exception. We added the bootclasspath libraries and
classpath libraries according to readme. The exception we are still
getting is:

Exception in thread "main" java.lang.NoSuchMethodError:
org.omg.PortableInterceptor.IORInterceptor_3_0.adapter_manager_state_cha
nged(Ljava/lang/String;S)V
 at
org.apache.yoko.orb.OB.PIManager.adapterManagerStateChange(PIManager.jav
a:532)
 at
org.apache.yoko.orb.OBPortableServer.POAManager_impl.activate(POAManager
_impl.java:213)
 at com.pikeelectronic.helloworld.server.Server.run(Server.java:60)
 at com.pikeelectronic.helloworld.server.Server.main(Server.java:82)

-- 
Lukas Zapletal
http://lukas.zapletalovi.com

Reply via email to