1 Reply Latest reply on Sep 6, 2005 11:01 AM by Ben Wang

    TreeCacheAop Aspectize Exception

    Krystian Malak Newbie

      Hi,

      I'm trying to get the TreeCacheAop running inside JBoss. TreeCache was no problem but I'm stuck with this exception.

      java.lang.IllegalArgumentException: TreeCacheAop.putObject(): Object type is neither aspectized nor Serializable

      Meanging that my object isn't aspectized, ok. How can i achieve this?

      The tutorial says: "To declare a POJO via XML configuration file, you will need a META-INF/jboss-aop.xml file located under the class path."

      I put an xml under : jboss-aop-jdk50.deployer\META-INF, but this didn't help.

      Is this the right place? and if it is where do i have to state the usage of my xml file?