Eclipse Version :
Eclipse Platform
Version: 3.4.2
Build id: M20090211-1700
Spring Unit Plugin : 0.3.0
Unable to generate SpringUnit code with my version of eclipse.
Error :
Creation of element failed.
org.eclipse.jdt.internal.cortex.util.CodeFormatterUtil.format(....... )
Cause: I had to recompile the code and make the following changes.
1 SuperInterfaceSelect.java , NewTypeWizardPage.java , SpringUnitWizardPageOne.java
JavaModelUtil.getFullyQualifedName(type) has been removed.
Use type.getFullyQualifiedName('.');
2 NewTypeWizardPage.java
String formattedContent = CodeFormatterUtil.format(CodeFormatter.K_CLASS_BODY_DECLARATIONS,
originalContent, indent, lineDelimiter, pack.getJavaProject());
The plugin is now working.