ошибка гибернации при развертывании приложения в wildfly - PullRequest
0 голосов
/ 28 ноября 2018

У меня есть ухо, которое отлично работает на сервере Jbos7.1, но в wildfly при его развертывании возникает ошибка:

[0m [31m14: 33: 12,077 ERROR [com.rcibanque.framework.persistance.hibernate.HibernateUtil] (Пул потоков ServerService - 119) Начальное создание SessionFactory не удалось: java.lang.NoSuchMethodError: org.objectweb.asm.ClassWriter. (Z) V в net.sf.cglib.core.DebuggingClassWriter. (DebuggingClassWriter.java:47) в net.sf.cglib.core.DefaultGeneratorStrategy.getClassWriter (DefaultGeneratorStrategy.java:30) в net.sf.cglib.core.DefaultGeneratorStrategy.generate (DefaultGeneratorStrategy.javaf: at).cglib.core.AbstractClassGenerator.create (AbstractClassGenerator.java:216) в net.sf.cglib.core.KeyFactory $ Generator.create (KeyFactory.java:145) в net.sf.cglib.core.KeyFactory.create Key (.java: 117) в net.sf.cglib.core.KeyFactory.create (KeyFactory.java:108) в net.sf.cglib.core.KeyFactory.create (KeyFactory.java:104) в net.sf.cglib.proxy.Enhancer. (Enhancer.java:69) вorg.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory (CGLIBLazyInitializer.java:117) в org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate (CGLIB.PojoEntityTuplizer.buildProxyFactory (PojoEntityTuplizer.java:162) в org.hibernate.tuple.entity.AbstractEntityTuplizer..tuple.entity.EntityEntityModeToTuplizerMapping. (EntityEntityModeToTuplizerMapping.java:56) в org.hibernate.tuple.entity.в org.hibernate.persister.entity.SingleTableEntityPersister. (SingleTableEntityPersister.java:109) в org.hibernate.persister.PersisterFactory.createClassPersister (PersisterFactory.java:55) в org.hibernate.impl.jactI6II) в org.hibernate.cfg.Configuration.buildSessionFactory (Configuration.java:1294) в com.rcibanque.framework.persistance.hibernate.HibernateUtil. (HibernateUtil.java:45) в com.rcibanque.framework.persistance.hibernate.HibernateTransaction.Taction.java: 62) на com.rcibanque.common.application.ReferencesService.loadReferences (ReferencesService.java:62) на com.rcibanque.common.session.InitServlet.init (InitServlet.java:94) на javax.servlet.GenericServlet.init (GenericServlet.java:244) в io.undertow.servlet.core.LifecyleInterceptorInvocation.proceed (LifecyleInterceptorInvocation.java:117) в org.wildfly.extension.undertow.security.RunAsLifecycleInterceptor.j (.undertow.servlet.core.LifecyleInterceptorInvocation.proceed (LifecyleInterceptorInvocation.java:103) в io.undertow.servlet.core.ManagedServlet $ DefaultInstanceStrategy.start (ManagedServlet.(ManagedServlet.java:133) в io.undertow.servlet.core.DeploymentManagerImpl $ 2.call (DeploymentManagerImpl.java:546) по адресу io.undertow.servlet.core.DeploymentManagerImpl $ 2.call (DeploymentManagerImpl.java:517) в io.undertow.servlet.xtquc(ServletRequestContextThreadSetupAction.java:42) в io.undertow.servlet.core.ContextClassLoaderSetupAction $ 1.call (ContextClassLoaderSetupAction.java:43) в io.undertow.servlet.api.LegacyWreadWraundertow.servlet.api.LegacyThreadSetupActionWrapper $ 1.call (LegacyThreadSetupActionWrapper.java:44) в io.undertow.servlet.api.LegacyThreadSetupActionWrapper $ 1.call (LegacyThreadSetupActionWrapper.java:)io.undertow.servlet.api.LegacyThreadSetupActionWrapper $ 1.call (LegacyThreadSetupActionWrapper.java:44) в io.undertow.servlet.api.LegacyThreadSetupActionWrapper $ 1.call (наследие наследника.начать (DeploymentManagerImpl.java:559) по адресу org.wildfly.extension.undertow.deployment.UndertowDeploymentService.startContext (UndertowDeploymentService.java:101) по адресу org.wildfly.extension.undertow.deployment.UndertowDeploymentServer) в java.util.concurrent.Executors $ RunnableAdapter.call (Executors.java:511) в java.util.concurrent.FutureTask.run (FutureTask.java:266) в java.util.concurrent.ThreadPoolExecutor.rooWorkerJava: 1149) в java.util.concurrent.ThreadPoolExecutor $ Worker.run (ThreadPoolExecutor.java:624) в java.lang.Thread.run (Thread.java:748) в org.jboss.threads.JBossThread.run (JBossThread.java: 320)

Может ли кто-нибудь помочь мне, пожалуйста?Спасибо!

...