I saw a post from 10/31 regarding the ability to use TreeCache (not 
TreeCacheAop) for caching pojo's. 

My cache is set up as synchronous and shared. When I try to cache a custom bean 
(in Eclipse) - I get the following error:

org.jboss.util.NestedRuntimeException: java.lang.ClassNotFoundException: 
com.thebbk.distributedcache.SomeBean; - nested throwable: 
(java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: 
com.dexmedia.distributedcache.SomeBean)
        at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:4344)
        at org.jboss.cache.TreeCache.put(TreeCache.java:3010)
        at org.jboss.cache.TreeCache.put(TreeCache.java:2995)
        ........

I assume this is beacause the bean cannot be found. It is in the classpath 
within the context of Eclipse, is there some other place I need to set the 
classpath so JBossCache will see the bean?



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3905532#3905532

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3905532


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to