Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Wildfly 8 & 9? #234

Open
echer opened this issue Aug 1, 2015 · 0 comments
Open

Support Wildfly 8 & 9? #234

echer opened this issue Aug 1, 2015 · 0 comments

Comments

@echer
Copy link

echer commented Aug 1, 2015

This support it?

Im was getting

21:06:51,168 ERROR [org.jboss.msc.service.fail](ServerService Thread Pool -- 54) MSC000001: Failed to start service jboss.persistenceunit."buscateto-web.war#BUSCATETO": org.jboss.msc.service.StartException in service jboss.persistenceunit."buscateto-web.war#BUSCATETO": javax.persistence.PersistenceException: Unable to build the entity manager factory for persistence unit: BUSCATETO
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:172) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:117) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]
at java.security.AccessController.doPrivileged(Native Method) [rt.jar:1.8.0_45]
at org.wildfly.security.manager.WildFlySecurityManager.doChecked(WildFlySecurityManager.java:474)
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1.run(PersistenceUnitServiceImpl.java:182) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_45]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_45]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_45]
at org.jboss.threads.JBossThread.run(JBossThread.java:122)
Caused by: javax.persistence.PersistenceException: Unable to build the entity manager factory for persistence unit: BUSCATETO
at org.batoo.jpa.core.BatooPersistenceProvider.createContainerEntityManagerFactory(BatooPersistenceProvider.java:86) [batoo-jpa-2.0.1.2.jar:]
at org.batoo.jpa.core.BatooPersistenceProvider.createContainerEntityManagerFactory(BatooPersistenceProvider.java:44) [batoo-jpa-2.0.1.2.jar:]
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.createContainerEntityManagerFactory(PersistenceUnitServiceImpl.java:318) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl.access$1100(PersistenceUnitServiceImpl.java:67) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]
at org.jboss.as.jpa.service.PersistenceUnitServiceImpl$1$1.run(PersistenceUnitServiceImpl.java:167) [wildfly-jpa-8.2.0.Final.jar:8.2.0.Final]
... 8 more
Caused by: java.lang.ClassCastException: org.jboss.as.jpa.config.PersistenceUnitMetadataImpl cannot be cast to org.jboss.as.jpa.spi.PersistenceUnitMetadata
at org.batoo.jpa.parser.impl.acl.JBoss7AnnotatedClassLocator.locateClasses(JBoss7AnnotatedClassLocator.java:103) [batoo-jpa-2.0.1.2.jar:]
at org.batoo.jpa.parser.impl.acl.BaseAnnotatedClassLocator.locateClasses(BaseAnnotatedClassLocator.java:69) [batoo-jpa-2.0.1.2.jar:]
at org.batoo.jpa.parser.impl.acl.BaseAnnotatedClassLocator.locatePersistentClasses(BaseAnnotatedClassLocator.java:105) [batoo-jpa-2.0.1.2.jar:]
at org.batoo.jpa.parser.impl.metadata.MetadataImpl.parse(MetadataImpl.java:386) [batoo-jpa-2.0.1.2.jar:]
at org.batoo.jpa.parser.PersistenceParserImpl.(PersistenceParserImpl.java:98) [batoo-jpa-2.0.1.2.jar:]
at org.batoo.jpa.core.BatooPersistenceProvider.createContainerEntityManagerFactory(BatooPersistenceProvider.java:70) [batoo-jpa-2.0.1.2.jar:]
... 12 more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant