Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ajdt-dev] An error message mentioning org.eclipse.equinox.service.weaving




----- Original Message ----
>Also, the hook fragment must be in the same directory as the OSGi
>bundle (org.eclipse.osgi). 
>-----
> The important thing here is:
>
> osgi.framework.extensions=org.eclipse.equinox.weaving.hook
>
> as a system property. So if you this via the vm parameter area of your
> launch config, you should use
> -Dosgi.framework.extensions=org.eclipse.equinox.weaving.hook
>

Thanks! After a few attempts, I manually copied the hook jar to both the 
workspace and the plugins folder.  The workspace didn't seem to react, but once 
the jar was in the plugins folder, I got new error messages:

java.lang.ClassNotFoundException: 
org.aspectj.weaver.loadtime.definition.Definition
    at 
org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:506)

    at 
org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:422)

This is definitely progress.    However, my plugins folder contains a copy of a 
jar called:
org.aspectj.weaver_1.6.10.20101003133000
and the plugins folder also has three jars with osgi in their names:
org.eclipse.osgi.services_3.2.100.v20100503
org.eclipse.osgi.util_3.2.100.v20100503
org.eclipse.osgi_3.6.1.R36x_v20100806

So I'm not sure why the class is not found.  

Thanks for the feedback.  I will keep trying to import jars.

I notice that when I import several jars at once, I get a message saying that 
the jars already exist in the workspace, and that these workspace project jars 
must be deleted in order to import the same jars as plugin jars.

I've tried running this with and without the importation, and either way I get 
the same error message, namely that the weaver.loadtime Definition is not found.

Thanks
Rick





Back to the top