Skip to content

Commit

Permalink
fix(hazelcast): fix cache value classloading (#10373)
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanHolstien authored Apr 25, 2024
1 parent 437b7a1 commit 826c4bf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ public CacheManager hazelcastCacheManager() {
mapConfig.setName("default");
config.addMapConfig(mapConfig);

// Force classloader to load from application code
config.setClassLoader(this.getClass().getClassLoader());

config.getNetworkConfig().getJoin().getMulticastConfig().setEnabled(false);
config
.getNetworkConfig()
Expand Down

0 comments on commit 826c4bf

Please sign in to comment.