@Slf4j breaks with cache annotations #655
Labels
info: workaround available
A workaround is available for the issue
lang: groovy
Issues or features specific to Groovy
Expected Behavior
the @slf4j log property to be available in all parts of a class that features cache-related annotations
Actual Behaviour
the @slf4j log property is sometimes not found in methods that belong to classes that feature cache-related annotations
Steps To Reproduce
groovy.lang.MissingPropertyException: No such property: log for class: com.example.$MyCachedClass$Definition$Intercepted
- either by running the unit tests, or by calling the GET APIs featured in MyController.( NOTE: this seems to occur for other annotations like @CacheInvalidate as well - not just @Cacheable )
Environment Information
Operating System: MacOS Ventura, Version 13.4
JDK Version: Coretto 17
Example Application
see above
Version
4.0.5
The text was updated successfully, but these errors were encountered: