You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CacheConfiguration cacheConfig = new CacheConfiguration<>();
new IgniteConfiguration()
.setCacheConfiguration(cacheConfig);
in Spring Boot 3.2.1, Java 21.
The result is Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'igniteConfiguration' defined in class path resource [server/base/IgniteConfig.class]: Failed to instantiate [org.apache.ignite.configuration.IgniteConfiguration]: Factory method 'igniteConfigurationProd' threw exception with message: class [Ljava.lang.Object; cannot be cast to class [Lorg.apache.ignite.configuration.CacheConfiguration; ([Ljava.lang.Object; is in module java.base of loader 'bootstrap'; [Lorg.apache.ignite.configuration.CacheConfiguration; is in unnamed module of loader org.springframework.boot.loader.launch.LaunchedClassLoader @49e4cb85)
Any suggestions on how to resolve this (probably with --add-opens)?
The text was updated successfully, but these errors were encountered:
adding cache config with
in Spring Boot 3.2.1, Java 21.
The result is
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'igniteConfiguration' defined in class path resource [server/base/IgniteConfig.class]: Failed to instantiate [org.apache.ignite.configuration.IgniteConfiguration]: Factory method 'igniteConfigurationProd' threw exception with message: class [Ljava.lang.Object; cannot be cast to class [Lorg.apache.ignite.configuration.CacheConfiguration; ([Ljava.lang.Object; is in module java.base of loader 'bootstrap'; [Lorg.apache.ignite.configuration.CacheConfiguration; is in unnamed module of loader org.springframework.boot.loader.launch.LaunchedClassLoader @49e4cb85)
Any suggestions on how to resolve this (probably with --add-opens)?
The text was updated successfully, but these errors were encountered: