Is this the right list I'm requesting help from?

openjpa:enhance did not succeed and I need help in order to understand why.

see the complete stack trace here: http://apache.pastebin.com/m1ac3be64

I included openjpa-maven-plugin in pom.xml.
see the complete pom.xml here: http://apache.pastebin.com/m1be8d0c5

When I compile I expected that the entity classes will be enhanced, not
all classes.

What I got is a stack trace telling the error:

964  INFO   [main] openjpa.MetaData - Parsing class
"eu.ngong.ehour.report.impl.Bill".
Exception in thread "main" java.lang.NoClassDefFoundError:
Leu/ngong/registry/Resources;

It seems that openjpa:enhance tries to enhance all classes.
It tries to enhance bill.class which is not an entity class.
bill depends on a class eu.ngong.registry.Resources
that is available at runtime, not at compiletime.

Seems that I misunderstood several things.
What did I miss? What should I have read before?

Rolf


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to