When I try to run my application, following error appers in my logfile:
This may look like typical OpenJPA error, not related to spring, but this error only appears when I put
Caused by: <openjpa-2.0.0-r422266:935683 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: This configuration disallows runtime optimization, but the following listed types were not enhanced at build time or at class load time with a javaagent:
second entity, etc
to my context file.
Of course all my entity classes, are automatically enhanced during build process, and I have no idea why load time waver made all these enhancements invisible to openjpa.