Hi,
I've been making extensive changes to some of the config beans and I'm
getting the following error (it was compiling fine until today)
[INFO]
------------------------------------------------------------------------
[INFO] Building in /gfv3.1/jun22/v3/admin/config-api
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO] [hk2:hk2-compile {execution: default-hk2-compile}]
[INFO] Compiling 185 source files to
/gfv3.1/jun22/v3/admin/config-api/target/classes
error: Could not create declaration for annotation type <any>
Problem encountered during annotation processing;
see stacktrace below for more information.
java.lang.ClassCastException:
com.sun.tools.apt.mirror.type.ClassTypeImpl cannot be cast to
com.sun.mirror.type.AnnotationType
at
com.sun.tools.apt.mirror.declaration.AnnotationMirrorImpl.getAnnotationType(AnnotationMirrorImpl.java:82)
at
com.sun.tools.apt.mirror.apt.AnnotationProcessorEnvironmentImpl$CollectingAP$CollectingVisitor.visitDeclaration(AnnotationProcessorEnvironmentImpl.java:118)
at
com.sun.mirror.util.SimpleDeclarationVisitor.visitMemberDeclaration(SimpleDeclarationVisitor.java:60)
at
com.sun.mirror.util.SimpleDeclarationVisitor.visitExecutableDeclaration(SimpleDeclarationVisitor.java:140)
at
com.sun.mirror.util.SimpleDeclarationVisitor.visitMethodDeclaration(SimpleDeclarationVisitor.java:160)
at
com.sun.tools.apt.mirror.declaration.MethodDeclarationImpl.accept(MethodDeclarationImpl.java:41)
at
com.sun.mirror.util.SourceOrderDeclScanner.visitExecutableDeclaration(SourceOrderDeclScanner.java:213)
at
com.sun.mirror.util.DeclarationScanner.visitMethodDeclaration(DeclarationScanner.java:214)
It must be some changes that I did today but how do I identify which
change? The error doesn't even point out which class.
Thanks,
-Yamini