It looks like something is incorrect in your aop.xml file. Is the fully qualified name of your aspect aspect.Logging?
On Mon, Mar 21, 2011 at 11:07 AM, Davidosky <davide.arest...@gmail.com> wrote: > now i'm arrived to this situation: > Launching the RCP application with consoleLog option i can see those > errors: > > > 21-mar-2011 19.04.51 org.aspectj.weaver.tools.Jdk14Trace error > GRAVE: register definition failed > java.lang.RuntimeException: Cannot register non aspect: aspects$Logging , > aspect > s.Logging > at > org.aspectj.weaver.bcel.BcelWeaver.addLibraryAspect(BcelWeaver.java:2 > 21) > at > org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.registerAspects > (ClassLoaderWeavingAdaptor.java:466) > at > org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.registerDefinit > ions(ClassLoaderWeavingAdaptor.java:290) > at > org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.initialize(Clas > sLoaderWeavingAdaptor.java:176) > at > org.eclipse.equinox.weaving.aspectj.loadtime.OSGiWeavingAdaptor.initi > alize(Unknown Source) > at > org.eclipse.equinox.weaving.aspectj.AspectJWeavingService.ensureAdapt > orInit(Unknown Source) > at > org.eclipse.equinox.weaving.aspectj.AspectJWeavingService.preProcess( > Unknown Source) > at > org.eclipse.equinox.weaving.adaptors.WeavingAdaptor.weaveClass(Unknow > n Source) > at > org.eclipse.equinox.weaving.hooks.WeavingHook.processClass(Unknown So > urce) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Clas > spathManager.java:575) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Cl > asspathManager.java:550) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassIm > pl(ClasspathManager.java:481) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_L > ockClassLoader(ClasspathManager.java:469) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(C > lasspathManager.java:449) > at > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalCla > ss(DefaultClassLoader.java:216) > at > org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLo > ader.java:393) > at > org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Bundl > eLoader.java:469) > at > org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader. > java:422) > at > org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader. > java:410) > at > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De > faultClassLoader.java:107) > at java.lang.ClassLoader.loadClass(Unknown Source) > at > org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader. > java:338) > at > org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleH > ost.java:232) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Abs > tractBundle.java:1197) > at > org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createEx > ecutableExtension(RegistryStrategyOSGI.java:174) > at > org.eclipse.core.internal.registry.ExtensionRegistry.createExecutable > Extension(ExtensionRegistry.java:904) > at > org.eclipse.core.internal.registry.ConfigurationElement.createExecuta > bleExtension(ConfigurationElement.java:243) > at > org.eclipse.core.internal.registry.ConfigurationElementHandle.createE > xecutableExtension(ConfigurationElementHandle.java:55) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl > e.java:191) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli > cation(EclipseAppLauncher.java:110) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec > lipseAppLauncher.java:79) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja > va:369) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja > va:179) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) > at org.eclipse.equinox.launcher.Main.run(Main.java:1408) > [argh] warning register definition failed -- (RuntimeException) Cannot > register > non aspect: aspects$Logging , aspects.Logging > Cannot register non aspect: aspects$Logging , aspects.Logging > java.lang.RuntimeException: Cannot register non aspect: aspects$Logging , > aspect > s.Logging > at > org.aspectj.weaver.bcel.BcelWeaver.addLibraryAspect(BcelWeaver.java:2 > 21) > at > org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.registerAspects > (ClassLoaderWeavingAdaptor.java:466) > at > org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.registerDefinit > ions(ClassLoaderWeavingAdaptor.java:290) > at > org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.initialize(Clas > sLoaderWeavingAdaptor.java:176) > at > org.eclipse.equinox.weaving.aspectj.loadtime.OSGiWeavingAdaptor.initi > alize(Unknown Source) > at > org.eclipse.equinox.weaving.aspectj.AspectJWeavingService.ensureAdapt > orInit(Unknown Source) > at > org.eclipse.equinox.weaving.aspectj.AspectJWeavingService.preProcess( > Unknown Source) > at > org.eclipse.equinox.weaving.adaptors.WeavingAdaptor.weaveClass(Unknow > n Source) > at > org.eclipse.equinox.weaving.hooks.WeavingHook.processClass(Unknown So > urce) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.defineClass(Clas > spathManager.java:575) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findClassImpl(Cl > asspathManager.java:550) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClassIm > pl(ClasspathManager.java:481) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass_L > ockClassLoader(ClasspathManager.java:469) > at > org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(C > lasspathManager.java:449) > at > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalCla > ss(DefaultClassLoader.java:216) > at > org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLo > ader.java:393) > at > org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(Bundl > eLoader.java:469) > at > org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader. > java:422) > at > org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader. > java:410) > at > org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(De > faultClassLoader.java:107) > at java.lang.ClassLoader.loadClass(Unknown Source) > at > org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader. > java:338) > at > org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleH > ost.java:232) > at > org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(Abs > tractBundle.java:1197) > at > org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createEx > ecutableExtension(RegistryStrategyOSGI.java:174) > at > org.eclipse.core.internal.registry.ExtensionRegistry.createExecutable > Extension(ExtensionRegistry.java:904) > at > org.eclipse.core.internal.registry.ConfigurationElement.createExecuta > bleExtension(ConfigurationElement.java:243) > at > org.eclipse.core.internal.registry.ConfigurationElementHandle.createE > xecutableExtension(ConfigurationElementHandle.java:55) > at > org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandl > e.java:191) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runAppli > cation(EclipseAppLauncher.java:110) > at > org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ec > lipseAppLauncher.java:79) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja > va:369) > at > org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja > va:179) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620) > at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575) > at org.eclipse.equinox.launcher.Main.run(Main.java:1408) > > > > -- > View this message in context: > http://aspectj.2085585.n4.nabble.com/AspectJ-PDE-export-problems-tp3387024p3394317.html > Sent from the AspectJ - users mailing list archive at Nabble.com. > _______________________________________________ > aspectj-users mailing list > aspectj-users@eclipse.org > https://dev.eclipse.org/mailman/listinfo/aspectj-users > _______________________________________________ aspectj-users mailing list aspectj-users@eclipse.org https://dev.eclipse.org/mailman/listinfo/aspectj-users