org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor$MissingImplementationException: Please raise an AspectJ bug. AspectJ does not know how to convert this annotation value [View.Minimal.class]

SpringSource Issue Tracker | Sebastian Montero | 1 year ago
  1. 0

    I'm using @DeclareParents to introduce an interface to certain entites. The problem is that when I add the following annotation @JsonView(View.Minimal.class) to the introduced interface, I get the following AspectJ compiler error: org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor$MissingImplementationException: Please raise an AspectJ bug. AspectJ does not know how to convert this annotation value [View.Minimal.class] at org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateElementValueForNonConstantExpression(EclipseAnnotationConvertor.java:221) at org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateElementValue(EclipseAnnotationConvertor.java:129) at org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateAnnotation(EclipseAnnotationConvertor.java:100) at org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.convertEclipseAnnotation(EclipseAnnotationConvertor.java:58) at org.aspectj.ajdt.internal.compiler.lookup.EclipseResolvedMember.getAnnotations(EclipseResolvedMember.java:102) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeMethodDelegate(BcelTypeMunger.java:1413) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:112)

    SpringSource Issue Tracker | 1 year ago | Sebastian Montero
    org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor$MissingImplementationException: Please raise an AspectJ bug. AspectJ does not know how to convert this annotation value [View.Minimal.class]
  2. 0

    I'm using @DeclareParents to introduce an interface to certain entites. The problem is that when I add the following annotation @JsonView(View.Minimal.class) to the introduced interface, I get the following AspectJ compiler error: org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor$MissingImplementationException: Please raise an AspectJ bug. AspectJ does not know how to convert this annotation value [View.Minimal.class] at org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateElementValueForNonConstantExpression(EclipseAnnotationConvertor.java:221) at org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateElementValue(EclipseAnnotationConvertor.java:129) at org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateAnnotation(EclipseAnnotationConvertor.java:100) at org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.convertEclipseAnnotation(EclipseAnnotationConvertor.java:58) at org.aspectj.ajdt.internal.compiler.lookup.EclipseResolvedMember.getAnnotations(EclipseResolvedMember.java:102) at org.aspectj.weaver.bcel.BcelTypeMunger.mungeMethodDelegate(BcelTypeMunger.java:1413) at org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:112)

    SpringSource Issue Tracker | 1 year ago | Sebastian Montero
    org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor$MissingImplementationException: Please raise an AspectJ bug. AspectJ does not know how to convert this annotation value [View.Minimal.class]

    Root Cause Analysis

    1. org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor$MissingImplementationException

      Please raise an AspectJ bug. AspectJ does not know how to convert this annotation value [View.Minimal.class]

      at org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateElementValueForNonConstantExpression()
    2. AspectJ tools
      EclipseResolvedMember.getAnnotations
      1. org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateElementValueForNonConstantExpression(EclipseAnnotationConvertor.java:221)
      2. org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateElementValue(EclipseAnnotationConvertor.java:129)
      3. org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.generateAnnotation(EclipseAnnotationConvertor.java:100)
      4. org.aspectj.ajdt.internal.compiler.lookup.EclipseAnnotationConvertor.convertEclipseAnnotation(EclipseAnnotationConvertor.java:58)
      5. org.aspectj.ajdt.internal.compiler.lookup.EclipseResolvedMember.getAnnotations(EclipseResolvedMember.java:102)
      5 frames
    3. AspectJ weaver
      BcelTypeMunger.munge
      1. org.aspectj.weaver.bcel.BcelTypeMunger.mungeMethodDelegate(BcelTypeMunger.java:1413)
      2. org.aspectj.weaver.bcel.BcelTypeMunger.munge(BcelTypeMunger.java:112)
      2 frames