将我的应用从glassfish4迁移到wildfly8.2后出现此错误。
16:36:21,298 WARN [org.eclipse.persistence.server] (EJB default - 1) Problem while unregistering MBean: javax.management.InstanceNotFoundException: TopLink:Name=Development-vfs_/C_/Wildfly/wildfly-8.2.0.Final/standalone/deployments/fepa-ear.ear/fepa-ejb-1.0.0.jar/_fepaPU,Type=Configuration
16:36:21,298 WARN [org.eclipse.persistence.server] (EJB default - 1) Problem while unregistering MBean: javax.management.InstanceNotFoundException: TopLink:Name=Session(vfs_/C_/Wildfly/wildfly-8.2.0.Final/standalone/deployments/fepa-ear.ear/fepa-ejb-1.0.0.jar/_fepaPU)
16:36:21,299 INFO [org.eclipse.persistence.connection] (EJB default - 1) disconnect
16:36:21,299 INFO [org.eclipse.persistence.connection] (EJB default - 1) vfs:/C:/Wildfly/wildfly-8.2.0.Final/standalone/deployments/fepa-ear.ear/fepa-ejb-1.0.0.jar/_fepaPU logout successful
16:36:21,323 FATAL [org.eclipse.persistence.ejb] (EJB default - 1)
16:36:21,333 ERROR [org.jboss.as.ejb3.invocation] (EJB default - 1) JBAS014134: EJB Invocation failed on component ConfigurationBean for method public boolean it.myCompany.fepa.domain.session.ConfigurationBean.valid(): javax.ejb.EJBException: javax.persistence.PersistenceException: Exception [EclipseLink-28019] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd): org.eclipse.persistence.exceptions.EntityManagerSetupException
Exception Description: Deployment of PersistenceUnit [fepaPU] failed. Close all factories for this PersistenceUnit.
Internal Exception: java.lang.NoSuchMethodError: it.myCompany.fepa.domain.BaseModel.<init>(Lorg/eclipse/persistence/internal/descriptors/PersistenceObject;)V
相同的代码在glassfish上工作。