Hi,
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 putCode: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: first entity, second entity, etc
to my context file.Code:<context:load-time-weaver weaver-class="org.springframework.instrument.classloading.SimpleLoadTimeWeaver"/>
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.


Reply With Quote
