playframework / play-plugins

CachePlugin
444 stars 161 forks source link

Redis Plugin Cache.getAs[T](redisKey) #89

Open salehsed opened 11 years ago

salehsed commented 11 years ago

Hi

Is it possible to add getAsT to cache object . at the moment it not supported for play2.1.3

[warn] application - could not deserialize key ex:java.lang.ClassNotFoundException: MyClass java.lang.ClassNotFoundException: MyClass

aellerton commented 11 years ago

Can you post more code and clarify that you are using play 2.1.3 (which DOES support getAs[T]).

At a glance the error looks like a simple case of MyClass not being defined.

Also, as mentioned in #88 , I don't think your issue is related to that problem.