| ClassFormatException with AJDT and RAD 8 [message #854953]
||Tue, 24 April 2012 11:43
| Marshall Blythe
Registered: April 2012
I'm on a development team using IBM Rational Application Developer (RAD) 8.0.4, and we're having some very frustrating problems with the AspectJ Developer Tools (AJDT) plugin. RAD 8.0.4 is based on Eclipse 3.6. Here's the typical scenario:|
- Fresh install of RAD 8.0.4 - no other 3rd-party plugins installed. RAD is functioning normally at this point.
- Install the AJDT plugin for Eclipse 3.6. We do this by selecting Help --> Install New Software from the RAD menu, then we enter the URL for the AJDT Update Site for for Eclipse 3.6. We choose only the required features and none of the optional ones. The plugin installs without any apparent problems, and we restart RAD when prompted to do so.
- RAD restarts without any apparent problems, but certain preference pages (Window --> Preferences) can no longer be used. For example, selecting the "Java" or "Java EE" preferences will trigger a RAD error stating that it was "Unable to create the selected preference page". Also, some nasty error messages are being written to the workspace .log file; for example:
org.aspectj.apache.bcel.classfile.ClassFormatException: org.eclipse.jdt.internal.ui.filters.ImportDeclarationFilter is not a Java .class file
org.aspectj.apache.bcel.classfile.ClassFormatException: org.eclipse.jdt.internal.ui.JavaPlugin$2 is not a Java .class file
The complete log file is attached. Notice that the errors appear to be related to the AspectJ plugin. We have used this plugin with regular Eclipse 3.6 without any problems.
The really odd thing is that I can sometimes re-install RAD and AJDT without any problems. I don't do anything different on the subsequent installs, so I have no idea why the problem disappears. So far 3 of us have this working, but the 4th developer is stuck, and multiple re-installs have failed to solve the problem.
Does anyone have any suggestions on how to make the AJDT plugin work reliably with RAD 8.0.4? I posted the same question on the RAD forum over at IBM developerWorks, but so far no answers.
[Updated on: Tue, 24 April 2012 11:44]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02184 seconds