This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
Compilation fails with @EnableCaching annotation #1714
Labels
for: external-project
For an external project and not something we can fix
Hello, I've seen there is an issue to introduce initial caching support (#465) but I don't see this problem mentioned there so I am opening a new issue. When adding
spring-boot-cache-starter
and ehcache (didn't try other implementations) the task bootBuildImage fails with the following error:/Users/agrancaric/Projects/tmp/spring-native-cache-example/build/generated/runtimeSources/aotMain/org/springframework/cache/annotation/ContextBootstrapInitializer.java:24: error: cannot find symbol .invoke(beanFactory, (attributes) -> bean.setConfigurers(attributes.get(0))); ^ symbol: method setConfigurers(Object) location: variable bean of type ProxyJCacheConfiguration
Version info: 'GraalVM 22.2.0 Java 11 CE'
Java version info: '11.0.16.1+1-LTS'
The project for reproducing the issue is here:
spring-native-cache-example.zip
The text was updated successfully, but these errors were encountered: