Useless exception message when annotations can't be parsed [SPR-12507] #17112
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
status: duplicate
A duplicate of another issue
Milestone
Aaron Digulla opened SPR-12507 and commented
When a class is missing while parsing annotations in
StandardAnnotationMetadata.isAnnotated
, you get this exception:The error means that Java couldn't find a class inside of annotation which has a
Class
value.Can you please wrap all exceptions thrown by
Class.getAnnotations()
with the name of the class which you tried to parse? That would help to narrow down the problem.Affects: 3.2.10
Issue Links:
The text was updated successfully, but these errors were encountered: