openjpa.persistence.xml 错误
2012-11-3 20:01:23 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.apache.roller.weblogger.ui.core.RollerContext
java.lang.RuntimeException: <openjpa-2.0.1-r422266:989424 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: "
org.apache.roller.weblogger.pojos.TaskLock
org.apache.roller.weblogger.pojos.OAuthConsumerRecord
org.apache.roller.weblogger.pojos.WeblogReferrer
org.apache.roller.weblogger.pojos.MediaFile
org.apache.roller.weblogger.pojos.WeblogBookmarkFolder
org.apache.roller.weblogger.pojos.WeblogTemplate
org.apache.roller.weblogger.pojos.UserRole
org.apache.roller.weblogger.pojos.WeblogEntryComment
org.apache.roller.weblogger.pojos.WeblogCategory
org.apache.roller.weblogger.pojos.User
org.apache.roller.weblogger.pojos.PingTarget
org.apache.roller.weblogger.pojos.WeblogPermission
org.apache.roller.weblogger.pojos.WeblogEntryTag
org.apache.roller.weblogger.pojos.MediaFileTag
org.apache.roller.weblogger.pojos.WeblogBookmark
org.apache.roller.weblogger.pojos.OAuthAccessorRecord
org.apache.roller.weblogger.pojos.AutoPing
org.apache.roller.weblogger.pojos.WeblogEntry
org.apache.roller.weblogger.pojos.Weblog
org.apache.roller.weblogger.pojos.UserAttribute
org.apache.roller.weblogger.pojos.WeblogEntryAttribute
org.apache.roller.weblogger.pojos.WeblogEntryTagAggregate
org.apache.roller.weblogger.pojos.ObjectPermission
org.apache.roller.weblogger.pojos.MediaFileDirectory
org.apache.roller.weblogger.pojos.RuntimeConfigProperty
org.apache.roller.weblogger.pojos.PingQueueEntry
org.apache.roller.weblogger.pojos.WeblogHitCount".
at org.apache.roller.weblogger.business.jpa.JPAPropertiesManagerImpl.initialize(JPAPropertiesManagerImpl.java:92)
at org.apache.roller.weblogger.business.WebloggerImpl.initialize(WebloggerImpl.java:338)
at org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:161)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4723)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5226)
at org.apache.catalina.core.StandardContext$1.call(StandardContext.java:5221)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused by: <openjpa-2.0.1-r422266:989424 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: "
org.apache.roller.weblogger.pojos.TaskLock
org.apache.roller.weblogger.pojos.OAuthConsumerRecord
org.apache.roller.weblogger.pojos.WeblogReferrer
org.apache.roller.weblogger.pojos.MediaFile