ricardobocchi commented on issue #15531: URL: https://github.com/apache/grails-core/issues/15531#issuecomment-4164687234
It worked using this documentation: https://grails.apache.org/docs/latest/guide/upgrading.html#_12_5_hibernate_ehcache. I couldn't get the jcache version to work; first it gave a conflict error with the artifact `org.ehcache:ehcache`, and then it gave an error saying that the cache 'jcache' is not a valid cache. ``` * What went wrong: Configuration cache state could not be cached: field `collection` of `org.gradle.internal.serialize.codecs.core.FilteredFileCollectionSpec` bean found in field `classpath` of `org.gradle.process.internal.DefaultJavaExecSpec_Decorated` bean found in field `javaExecSpec` of task `:gym-app:bootRun` of type `org.springframework.boot.gradle.tasks.run.BootRun`: error writing value of type 'org.gradle.api.internal.file.UnionFileCollection' > Could not resolve all files for configuration ':gym-app:runtimeClasspath'. > Could not resolve org.ehcache:ehcache:3.10.9. Required by: project :gym-app > Module 'org.ehcache:ehcache' has been rejected: Cannot select module with conflict on capability 'org.ehcache.modules:ehcache-api:3.10.9' also provided by ['org.ehcache:ehcache:3.10.9' (jakartaRuntimeElements), 'org.ehcache:ehcache:3.10.9' (runtimeElements)] > There are 2 more failures with identical causes. ``` and `Could not load requested class : jcache` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
