openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Gage <chrisg...@bellsouth.net>
Subject ClassNotFoundException using PCEnhancer
Date Tue, 28 Apr 2009 18:42:06 GMT

I am trying to run the enhancer in an ant script, and I am getting
ClassNotFoundException for a class that is one of the compiled classes,
DateConversion, and it is definitely there.  What am I missing?

enhance:
 [enhancer] java.lang.IllegalArgumentException:
java.lang.ClassNotFoundException: org.abpeds.moc.persistence.DateConversion
 [enhancer] 	at serp.util.Strings.toClass(Strings.java:164)
 [enhancer] 	at serp.util.Strings.toClass(Strings.java:108)
 [enhancer] 	at
org.apache.openjpa.lib.meta.ClassArgParser.parseTypes(ClassArgParser.java:164)
 [enhancer] 	at
org.apache.openjpa.enhance.PCEnhancer.run(PCEnhancer.java:4341)
 [enhancer] 	at
org.apache.openjpa.ant.PCEnhancerTask.executeOn(PCEnhancerTask.java:89)
 [enhancer] 	at
org.apache.openjpa.lib.ant.AbstractTask.execute(AbstractTask.java:172)
 [enhancer] 	at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
 [enhancer] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [enhancer] 	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
 [enhancer] 	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [enhancer] 	at java.lang.reflect.Method.invoke(Method.java:618)
 [enhancer] 	at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
 [enhancer] 	at org.apache.tools.ant.Task.perform(Task.java:348)
 [enhancer] 	at org.apache.tools.ant.Target.execute(Target.java:357)
 [enhancer] 	at org.apache.tools.ant.Target.performTasks(Target.java:385)
 [enhancer] 	at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
 [enhancer] 	at
org.apache.tools.ant.Project.executeTarget(Project.java:1298)
 [enhancer] 	at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
 [enhancer] 	at
org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
 [enhancer] 	at
org.apache.tools.ant.Project.executeTargets(Project.java:1181)
 [enhancer] 	at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
 [enhancer] 	at
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

BUILD FAILED
C:\_RAD7.5 workspaces\90422\MOCData\build.xml:44:
java.lang.IllegalArgumentException: java.lang.ClassNotFoundException:
org.abpeds.moc.persistence.DateConversion



-- 
View this message in context: http://n2.nabble.com/ClassNotFoundException-using-PCEnhancer-tp2735411p2735411.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message