Community
Participate
Working Groups
I got this compilation issue in STS 3.9.0 version IDE java.lang.ClassCastException at org.aspectj.weaver.World.resolveToReferenceType(World.java:465) at org.aspectj.weaver.World.resolve(World.java:319) at org.aspectj.weaver.World.resolve(World.java:229) at org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.makeResolvedMember(EclipseFactory.java:589) at org.aspectj.ajdt.internal.compiler.lookup.EclipseFactory.makeResolvedMember(EclipseFactory.java:566) at org.aspectj.ajdt.internal.co ... Compile error: ClassCastException thrown: org.aspectj.weaver.MissingResolvedTypeWithKnownSignature cannot be cast to org.aspectj.weaver.ReferenceType
I put in a guard for MissingResolvedType in that block (similar to other guards in other cases in that method). You may still have an issue - the fact that we created a MissingResolvedType suggests that. Now at least with the guard in place it will get past this error - perhaps offering better diagnostics with whatever it hits next. Dev build is up at: http://download.eclipse.org/tools/ajdt/47/dev/update
I am facing the same issue. I tried the 47 ajdt update, but still facing the same issue.