cacheManager = CacheManagerBuilder.newCacheManagerBuilder().
withCache(CACHE_NAME,
CacheConfigurationBuilder.newCacheConfigurationBuilder
(String.class,List.class,ResourcePoolsBuilder.heap(10))
.withExpiry(Expirations.timeToLiveExpiration(Duration.of(2, TimeUnit.HOURS)))
).build();
But cache put and get are happening . Do i need to worry about above error . Please let me know
--
You received this message because you are subscribed to the Google Groups "ehcache-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ehcache-users+unsubscribe@googlegroups.com.
To post to this group, send email to ehcach...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ehcache-users/27bc49f3-dc60-4997-b16c-984095ce8518%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
This is a debug log that you can indeed ignore.When caching on heap you don't need serializers. The message is only notifying that you need to watch out because as soon as you try to cache anywhere else that isn't on heap, you will need to give a serializer for List since the List interface isn't serializable.Henri
On 19 June 2017 at 19:58, vaibhav srivastava <coolvi...@gmail.com> wrote:
- What version of Ehcache you are currently using;3.3
- Paste the configuration for the Cache/CacheManager you have an issue with;
- Add any name and version of other library or framework you use Ehcache with (e.g. Hibernate);NA
- Providing JDK and OS versions maybe useful as well. .18
Hi guys ,I am getting below error"org.ehcache.spi.serialization.UnsupportedTypeException: No serializer found for type 'java.util.List'."This is how i am initializing my cache .cacheManager = CacheManagerBuilder.newCacheManagerBuilder().
withCache(CACHE_NAME,
CacheConfigurationBuilder.newCacheConfigurationBuilder
(String.class,List.class,ResourcePoolsBuilder.heap(10))
.withExpiry(Expirations.timeToLiveExpiration(Duration.of(2, TimeUnit.HOURS)))
).build();
But cache put and get are happening . Do i need to worry about above error . Please let me know
I
--
You received this message because you are subscribed to the Google Groups "ehcache-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ehcache-user...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ehcache-users+unsubscribe@googlegroups.com.
To post to this group, send email to ehcach...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ehcache-users/b5b37328-e0b8-49b6-b811-13416c53336d%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to ehcache-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ehcache-users/3a066e32-80b2-4676-9dd6-cda2a53568a8%40googlegroups.com.