The code generated by the AOT engine when ProxyJCacheConfiguration
is used seems broken with this error:
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:3.0.0-SNAPSHOT:process-aot (process-aot) on project spring-petclinic: Unable to compile generated source
[ERROR] cannot find symbol
[ERROR] symbol: method setConfigurers(java.lang.Object)
[ERROR] location: variable instance of type org.springframework.cache.jcache.config.ProxyJCacheConfiguration /Users/odrotbohm/Documents/workspace/spring-petclinic/target/spring-aot/main/sources/org/springframework/cache/jcache/config/ProxyJCacheConfiguration__Autowiring.java 16:136
This issue was originally reported by @odrotbohm when trying to compile the Spring Boot 3 branch of Petclinic to native.