Hello, I'm trying to use TreeCacheAop/TreeCache functionality from within a web app deployed under Tomcat 5.0.28 (JDK1.4.2 and jbosscache 1.1 with aop 1.0rc1). I'm using the aopc to compile necessary classes (and therefore not using org.jboss.aop.standalone.SystemClassLoader)
This is the error I'm getting: | java.lang.NoClassDefFoundError: org/jboss/aop/proxy/ClassProxy | java.lang.ClassLoader.defineClass0(Native Method) | java.lang.ClassLoader.defineClass(ClassLoader.java:537) | java.lang.ClassLoader.defineClass(ClassLoader.java:448) | javassist.ClassPool$SimpleLoader.loadClass(ClassPool.java:244) | javassist.ClassPool.toClass(ClassPool.java:296) | javassist.CtClass.toClass(CtClass.java:883) | org.jboss.aop.proxy.ClassProxyFactory.generateProxy(ClassProxyFactory.java:139) | org.jboss.aop.proxy.ClassProxyFactory.newInstance(ClassProxyFactory.java:53) | org.jboss.cache.aop.CollectionInterceptorUtil.getMethodMap(CollectionInterceptorUtil.java:47) | org.jboss.cache.aop.CachedMapInterceptor.<init>(CachedMapInterceptor.java:31) | org.jboss.cache.aop.TreeCacheAop.getObject(TreeCacheAop.java:462) | org.jboss.cache.aop.CacheInterceptor.invoke(CacheInterceptor.java:98) | com.jcorporate.expresso.core.dbobj.NextNumberImpl$NextNumberImpl_contextMap_19963527_OptimizedGetFieldInvocation.invokeNext(NextNumberImpl$NextNumberImpl_contextMap_19963527_OptimizedGetFieldInvocation.java) | ClassProxy is located in the jboss-aop.jar file and this file is in my WEB-INF/lib folder. So, my question is: How do I go about correctly integrating Tomcat and JBossCache so that required libraries are found properly? Big Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850002#3850002 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850002 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
