Hi, The code in ManagedClassSubclasser checks to see if > PersistenceCapable.class is assignable from each of the classes that > you pass in. Are you certain that the classes implement > PersistenceCapable at the time that ManagedClassSubclasser is being > invoked?
How do I check that? The entities I've defined are POJOs, Should the enhancer make entities PersistenceCapable? > Caused by: java.lang.ClassNotFoundException: > > com.sun.tools.attach.VirtualMachine > > What JVM are you using? I'm using : $ java -version java version "1.6.0" Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing) Thanks, Prashant
