0 Replies Latest reply on Jul 14, 2016 3:05 AM by Pavan Kumar

    Error while deploying ear in Wildfly AS

    Pavan Kumar Newbie

      Hi.. am trying to deploy an ear into Wildfly 9.0.1, the application is built with EJB 3.x. I made related changes for EJB look ups in the application and proper configuration of data source and JMS in standalone-full.xml and started the server using full profile.

      Am facing below error which is working fine in JBoss 5.1.0 GA. Below is the stack trace


      Caused by: java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup

        at java.lang.Class.getDeclaredConstructors0(Native Method)

        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2585)

        at java.lang.Class.getConstructor0(Class.java:2885)

        at java.lang.Class.newInstance(Class.java:350)

        at org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:358)

        at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:232)

        at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1933)

        at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1216)

        at (.....)


      Please do the needful.