I'm trying to use an enum field in an openjpa entiy. Everything works fine unitl I try to enhance my entities which breaks with a ClassNotFound exception for the Enum type. I'm using the openjpa maven plugin to enhance the entities and the enum is declared public and is on the classpath. I'm not sure what I'm missing here.
+1
A:
We had the same problem.
You need to include the missing class in the classpath you use when you define the task.
Michael Wiles
2009-06-17 17:08:53