[jboss-user] [JBoss AOP] - ClassNotFound for ClassMetaData.class

geoharp do-not-reply at jboss.com
Wed Apr 25 19:46:39 EDT 2007


package org.jboss.cache.aop.references;

import java.lang.ref.Reference;
import java.lang.ref.SoftReference;
import java.lang.ref.WeakReference;

import org.apache.log4j.Logger;
import org.jboss.serial.classmetamodel.ClassMetaData;

/** 
 * Base class for persistent references.
 * Persistent reference is a Weak/Soft reference to a reflection object.
 * If the reflection object is garbage collected, the reference is then rebuilt using reflection operations.
 * @author csuconic
 *
 */
public abstract class PersistentReference
{
	public static final int REFERENCE_WEAK=1;
	public static final int REFERENCE_SOFT=2;
	
	private static final Logger log = Logger.getLogger(ClassMetaData.class);
   	private static final boolean isDebug = log.isDebugEnabled();
}

Should Log be:
private final static Logger log = Logger.getLogger( PersistentReference.class );

java.lang.NoClassDefFoundError
	at org.jboss.cache.aop.references.PersistentReference.class$(PersistentReference.java:44)
	at org.jboss.cache.aop.references.PersistentReference.(PersistentReference.java:44)
	at org.jboss.cache.aop.CachedType.analyzeFields(CachedType.java:239)
	at org.jboss.cache.aop.CachedType.analyze(CachedType.java:219)
	at org.jboss.cache.aop.CachedType.(CachedType.java:68)
	at org.jboss.cache.aop.PojoCache.getCachedType(PojoCache.java:396)
	at org.jboss.cache.aop.CollectionClassHandler.collectionObjectPut(CollectionClassHandler.java:78)
	at org.jboss.cache.aop.TreeCacheAopDelegate._putObject(TreeCacheAopDelegate.java:213)
	at org.jboss.cache.aop.PojoCache._putObject(PojoCache.java:731)
	at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:462)
	at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:423)


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

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



More information about the jboss-user mailing list