[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] Classloading problems running Equinox weaved AspectJ


I weaved Equinox framework v 3.2.0 with AspectJ and I am getting the following the weaved framework:

Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/osgi/framework/log/FrameworkLogEntry
Caused by: java.lang.ClassNotFoundException: org.eclipse.osgi.framework.log.FrameworkLogEntry
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

The FrameworkLogEntry class is the weaved jar. Does anybody know in detail how the class loading works or why that is happening?

This version does not use digitally signed jars. I found errors regarding the hashing of classes with version 3.3 and that is why I've tried weaving a previous version.


Kiev Gama

Do more with your photos with Windows Live Photo Gallery. Get Windows Live-Free