Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException
AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException [message #74281] Mon, 29 June 2009 11:59 Go to next message
Fu Zebest is currently offline Fu Zebest
Messages: 6
Registered: July 2009
Junior Member
Hello,

I just upgraded to the new Eclipse and AJDT.
Set up - a fresh Eclipse 3.5 with the full AJDT installation, a newly
created workspace.

After the restart followed the AJDT installation I had an error window
with the message:

-------------------
The org.eclipse.jdt.ui.javaElementFilters plug-in extension
"org.eclipse.ajdt.javamodel.CompilationUnitFilter" specifies a viewer
filter class which does not exist.
Plug-in "org.eclipse.ajdt.ui" was unable to instantiate class
" org.eclipse.ajdt.internal.ui.lazystart.CompilationUnitFilter ".
org/eclipse/ajdt/core/ras/FFDC
-------------------

The log file revealed the problem:

-------------------
!MESSAGE Plug-in org.eclipse.ajdt.core was unable to load class
org.eclipse.ajdt.core.AJSourceTransformer.
!STACK 0
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter $TerminatingClassNotFoundException:
An error occurred while automatically activating bundle
org.eclipse.ajdt.core (27).
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:125)
at
org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:449)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:211)
at
org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:376)
at
org.eclipse.osgi.internal.loader.SingleSourcePackage.loadCla ss(SingleSourcePackage.java:33)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:449)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:23 89)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at
org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI .createExecutableExtension(RegistryStrategyOSGI.java:170)
at
org.eclipse.core.internal.registry.ExtensionRegistry.createE xecutableExtension(ExtensionRegistry.java:874)
at
org.eclipse.core.internal.registry.ConfigurationElement.crea teExecutableExtension(ConfigurationElement.java:243)
at
org.eclipse.core.internal.registry.ConfigurationElementHandl e.createExecutableExtension(ConfigurationElementHandle.java: 51)
at
org.eclipse.jdt.internal.ui.filters.FilterDescriptor$1.run(F ilterDescriptor.java:132)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at
org.eclipse.jdt.internal.ui.filters.FilterDescriptor.createV iewerFilter(FilterDescriptor.java:136)
at
org.eclipse.jdt.ui.actions.CustomFiltersActionGroup$FilterIt em.getFilterInstance(CustomFiltersActionGroup.java:183)
at
org.eclipse.jdt.ui.actions.CustomFiltersActionGroup.updateVi ewerFilters(CustomFiltersActionGroup.java:516)
at
org.eclipse.jdt.ui.actions.CustomFiltersActionGroup.<init>(CustomFiltersActionGroup.java:271)
at
org.eclipse.jdt.ui.actions.CustomFiltersActionGroup.<init>(CustomFiltersActionGroup.java:237)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActio nGroup. <init>(PackageExplorerActionGroup.java:148)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart. makeActions(PackageExplorerPart.java:789)
at
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart. createPartControl(PackageExplorerPart.java:496)
at
org.eclipse.ui.internal.ViewReference.createPartHelper(ViewR eference.java:367)
at
org.eclipse.ui.internal.ViewReference.createPart(ViewReferen ce.java:226)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:595)
at
org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActi ve(WorkbenchPage.java:4212)
at
org.eclipse.ui.internal.WorkbenchPage$18.runWithException(Wo rkbenchPage.java:3271)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3476)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:803)
at
org.eclipse.ui.internal.Workbench$28.runWithException(Workbe nch.java:1384)
at
org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:3 5)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchr onizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.jav a:3855)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :3476)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:22 21)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at
org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:113)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
at
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
Caused by: org.osgi.framework.BundleException: Exception in
org.eclipse.ajdt.core.AspectJPlugin.start() of bundle
org.eclipse.ajdt.core.
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:805)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:754)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:352)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:280)
at
org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:408)
at
org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:111)
... 66 more
Caused by: java.lang.NoClassDefFoundError:
org/aspectj/ajde/core/ICompilerConfiguration
at org.eclipse.ajdt.core.AspectJPlugin.start(AspectJPlugin.java :131)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$1 .run(BundleContextImpl.java:782)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:773)
... 71 more
Caused by: java.lang.ClassNotFoundException:
org.aspectj.ajde.core.ICompilerConfiguration
at
org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:489)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
at
org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
at
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:105)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
... 75 more
Re: AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException [message #74300 is a reply to message #74281] Mon, 29 June 2009 13:38 Go to previous messageGo to next message
Eclipse User
Originally posted by: andrew.eisenberg.springsource.com

The important part of the exception stack trace is below. This says that
for some reason, ICompilerConfiguration was not found. And this cascades to
a bunch of other exceptions, first that the ajdt.core plugin cannot be
started, and then that AJSourceTransformer cannot be loaded (because its
plugin cannot be started).

I am not sure why ICompilerConfiguration cannot be found. But it is
possible that your ajdt installation failed in some way and therefore the
org.aspectj.ajde plugin cannot be loaded.

Did you have any problems with installation or do you have any other errors
in your error log?


On 29/06/09 8:59 AM, in article
d4d52d0fc34d9d024e7889129299d9a7$1@www.eclipse.org, "Fu Zebest"
<fuzebest@mail.ru> wrote:

> Caused by: java.lang.ClassNotFoundException:
> org.aspectj.ajde.core.ICompilerConfiguration
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.j
> ava:489)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClas
> sLoader.java:105)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
> ... 75 more
Re: AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException [message #74317 is a reply to message #74300] Tue, 30 June 2009 04:14 Go to previous messageGo to next message
Fu Zebest is currently offline Fu Zebest
Messages: 6
Registered: July 2009
Junior Member
> Did you have any problems with installation or do you have any other errors
> in your error log?

No there was no problem with a clean Eclipse installation with a clean
workspace.
The log file is filled with the exception stacktraces all rooted to the
java.lang.ClassNotFoundException:
org.aspectj.ajde.core.ICompilerConfiguration.
Even more weird thing - I cannot find this class anywhere in my Eclipse
installation. Which plugin contains it?

Forgot to mention the exact AJDT version - 2.0.0.e35x-20090625-1000.
Re: AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException [message #74334 is a reply to message #74317] Tue, 30 June 2009 13:17 Go to previous messageGo to next message
Eclipse User
Originally posted by: andrew.eisenberg.springsource.com

The plugin is org.aspectj.ajde.

Make sure that the plugin is installed and the version should be
1.6.5.20090618034232 (although if it is a slightly different version, should
be OK). Also, make sure that the class exists inside of that plugin.

Did you install through the update site or through a zip file?


On 30/06/09 1:14 AM, in article
99d22748aae8ee9183f4ccd56a4dd516$1@www.eclipse.org, "Fu Zebest"
<fuzebest@mail.ru> wrote:

>> Did you have any problems with installation or do you have any other errors
>> in your error log?
>
> No there was no problem with a clean Eclipse installation with a clean
> workspace.
> The log file is filled with the exception stacktraces all rooted to the
> java.lang.ClassNotFoundException:
> org.aspectj.ajde.core.ICompilerConfiguration.
> Even more weird thing - I cannot find this class anywhere in my Eclipse
> installation. Which plugin contains it?
>
> Forgot to mention the exact AJDT version - 2.0.0.e35x-20090625-1000.
>
Re: AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException [message #74352 is a reply to message #74334] Wed, 01 July 2009 04:41 Go to previous message
Fu Zebest is currently offline Fu Zebest
Messages: 6
Registered: July 2009
Junior Member
That's the one! The plugin is missing for some reason.
I reinstalled the AJDT from scratch and everything works just fine.
Thanks for your help!
Re: AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException [message #600136 is a reply to message #74281] Mon, 29 June 2009 13:38 Go to previous message
Andrew Eisenberg is currently offline Andrew Eisenberg
Messages: 77
Registered: July 2009
Member
The important part of the exception stack trace is below. This says that
for some reason, ICompilerConfiguration was not found. And this cascades to
a bunch of other exceptions, first that the ajdt.core plugin cannot be
started, and then that AJSourceTransformer cannot be loaded (because its
plugin cannot be started).

I am not sure why ICompilerConfiguration cannot be found. But it is
possible that your ajdt installation failed in some way and therefore the
org.aspectj.ajde plugin cannot be loaded.

Did you have any problems with installation or do you have any other errors
in your error log?


On 29/06/09 8:59 AM, in article
d4d52d0fc34d9d024e7889129299d9a7$1@www.eclipse.org, "Fu Zebest"
<fuzebest@mail.ru> wrote:

> Caused by: java.lang.ClassNotFoundException:
> org.aspectj.ajde.core.ICompilerConfiguration
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.j
> ava:489)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:405)
> at
> org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:393)
> at
> org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClas
> sLoader.java:105)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320 )
> ... 75 more
Re: AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException [message #600144 is a reply to message #74300] Tue, 30 June 2009 04:14 Go to previous message
Fu Zebest is currently offline Fu Zebest
Messages: 6
Registered: July 2009
Junior Member
> Did you have any problems with installation or do you have any other errors
> in your error log?

No there was no problem with a clean Eclipse installation with a clean
workspace.
The log file is filled with the exception stacktraces all rooted to the
java.lang.ClassNotFoundException:
org.aspectj.ajde.core.ICompilerConfiguration.
Even more weird thing - I cannot find this class anywhere in my Eclipse
installation. Which plugin contains it?

Forgot to mention the exact AJDT version - 2.0.0.e35x-20090625-1000.
Re: AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException [message #600152 is a reply to message #74317] Tue, 30 June 2009 13:17 Go to previous message
Andrew Eisenberg is currently offline Andrew Eisenberg
Messages: 77
Registered: July 2009
Member
The plugin is org.aspectj.ajde.

Make sure that the plugin is installed and the version should be
1.6.5.20090618034232 (although if it is a slightly different version, should
be OK). Also, make sure that the class exists inside of that plugin.

Did you install through the update site or through a zip file?


On 30/06/09 1:14 AM, in article
99d22748aae8ee9183f4ccd56a4dd516$1@www.eclipse.org, "Fu Zebest"
<fuzebest@mail.ru> wrote:

>> Did you have any problems with installation or do you have any other errors
>> in your error log?
>
> No there was no problem with a clean Eclipse installation with a clean
> workspace.
> The log file is filled with the exception stacktraces all rooted to the
> java.lang.ClassNotFoundException:
> org.aspectj.ajde.core.ICompilerConfiguration.
> Even more weird thing - I cannot find this class anywhere in my Eclipse
> installation. Which plugin contains it?
>
> Forgot to mention the exact AJDT version - 2.0.0.e35x-20090625-1000.
>
Re: AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException [message #600156 is a reply to message #74334] Wed, 01 July 2009 04:41 Go to previous message
Fu Zebest is currently offline Fu Zebest
Messages: 6
Registered: July 2009
Junior Member
That's the one! The plugin is missing for some reason.
I reinstalled the AJDT from scratch and everything works just fine.
Thanks for your help!
Previous Topic:AJDT 2.0.0 + Eclipse 3.5 ClassNotFoundException
Next Topic:Binary cycles while exporting RCP product
Goto Forum:
  


Current Time: Sat Aug 30 16:40:59 EDT 2014

Powered by FUDForum. Page generated in 0.05525 seconds