Hi Syed,

AFAIK  the plugin  dependencies should be handled  according to the eclipse
resource framework with the access control.
Try exporting the all the resources at the Runtime in  MENIFIST.MF  as
example
Export-Package: mypackage in Plugin2 ,  and then import it in Plugin1
MENIFIST.MF Require-Bundle: mypackage,

HTH

Thanks
Lahiru Sandakith



On 2/14/07, Anwaruddin Syed <[EMAIL PROTECTED]> wrote:

Hi All,

   1. I have developed a Eclipse Plug-in say p1.
   2. Created a Plug-in P2, from teh JAR created from the WSDL2Java
   stubs.
   3. Now I am trying to instantiate the Stubs from Plug-in P1.
   Following below is my code snippet:

 InvokeServiceLocator TcGSSrvcLocator =
*new* InvokeServiceLocator();



When it tries to instantiate this, I get the following error:



*java.lang.IncompatibleClassChangeError*

*java.lang.IncompatibleClassChangeError: Implementing class*

at java.lang.ClassLoader.defineClass1(
*Native Method*)

at java.lang.ClassLoader.defineClass(
*ClassLoader.java:620*)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.defineClass(
*DefaultClassLoader.java:160*)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(
*ClasspathManager.java:498*)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(
*ClasspathManager.java:468*)

at org.eclipse
.osgi.baseadaptor.loader.ClasspathManager.findLocalClassImpl(
*ClasspathManager.java:427*)

at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(
*ClasspathManager.java:410*)

at org.eclipse
.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(
*DefaultClassLoader.java:188*)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(
*BundleLoader.java:339*)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(
*BundleLoader.java:391*)

at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(
*BundleLoader.java:352*)

at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(
*DefaultClassLoader.java:83*)

at java.lang.ClassLoader.loadClass(
*ClassLoader.java:251*)

at java.lang.ClassLoader.loadClassInternal(
*ClassLoader.java:319*)

at org.apache.axis.configuration.FileProvider.configureEngine(
*FileProvider.java:209*)

at org.apache.axis.AxisEngine.init(
*AxisEngine.java:187*)

at org.apache.axis.AxisEngine.<init>(
*AxisEngine.java:172*)

at org.apache.axis.client.AxisClient.<init>(
*AxisClient.java:88*)

at org.apache.axis.client.Service.getAxisClient(
*Service.java:143*)

at org.apache.axis.client.Service.<init>(
*Service.java:152*)

Any help on this greatly appreciated.

Regards,
Syed


------------------------------
8:00? 8:25? 8:40? Find a flick in no time
with theYahoo! Search movie showtime shortcut.




--
Regards
Lahiru Sandakith

Reply via email to