Running like this [luzer@cipoc enhancer]$ java -classpath /home/luzer/zpd/zpd-ws/jpa_demo/JpaDemo/bin/resourceMgr/model:/home/luzer/zpd/zpd-ws/jpa_demo/JpaDemo/src/META-INF:/home/luzer/tools/apache-openjpa-2.1.0/openjpa-all-2.1.0.jar org.apache.openjpa.enhance.PCEnhancer -p persistence.xml#Accounts
results in: 27 Accounts INFO [main] openjpa.Tool - No targets were given. Running on all classes in your persistent classes list, or all metadata files in classpath directories if you have not listed your persistent classes. Use -help to display tool usage information. Exception in thread "main" java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: resourceMgr.model.Client at serp.util.Strings.toClass(Strings.java:164) at serp.util.Strings.toClass(Strings.java:108) at serp.bytecode.BCClass.getType(BCClass.java:566) at org.apache.openjpa.enhance.PCEnhancer.<init>(PCEnhancer.java:283) at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4675) at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4622) at org.apache.openjpa.enhance.PCEnhancer$1.run(PCEnhancer.java:4592) at org.apache.openjpa.lib.conf.Configurations.launchRunnable(Configurations.java:741) at org.apache.openjpa.lib.conf.Configurations.runAgainstAllAnchors(Configurations.java:731) at org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4587) at org.apache.openjpa.enhance.PCEnhancer.main(PCEnhancer.java:4578) Any other hints? Thanks, abu -- View this message in context: http://openjpa.208410.n2.nabble.com/PCEnhancer-and-java-lang-ClassNotFoundException-tp6597934p6603196.html Sent from the OpenJPA Users mailing list archive at Nabble.com.