4 Replies Latest reply on Dec 11, 2013 10:06 AM by Cristian Miranda

    Dev mode in Errai 2.4.2 App

    Cristian Miranda Newbie

      Hi guys,

       

           I'm trying to implement development mode in my application using Errai 2.4.2-Final and I'm having some issues when running it. The following error is displayed in console:

       

                      00:00:16.159 [ERROR] Could not deploy webapp.war 

      org.jboss.as.cli.CommandFormatException: {
          "outcome" => "failed",
          "failure-description" => {
              "JBAS014671: Failed services" => {"jboss.persistenceunit.webapp#pu-magick" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.webapp#pu-magick: Failed to start service"},
              "JBAS014771: Services with missing/unavailable dependencies" => ["jboss.naming.context.java.module.webapp.webapp.env.ErraiServicejboss.naming.context.java.jboss.resources.ErraiServiceMissing[jboss.naming.context.java.module.webapp.webapp.env.ErraiServicejboss.naming.context.java.jboss.resources.ErraiService]"]
          },
          "rolled-back" => true
      }
           at org.jboss.as.cli.handlers.OperationRequestHandler.handle(OperationRequestHandler.java:79)
           at org.jboss.as.cli.impl.CommandContextImpl.handle(CommandContextImpl.java:442)
           at org.jboss.errai.cdi.server.as.JBossServletContainerAdaptor.<init>(JBossServletContainerAdaptor.java:125)
           at org.jboss.errai.cdi.server.gwt.JBossLauncher.start(JBossLauncher.java:113)
           at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
           at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)
           at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:836)
           at com.google.gwt.dev.DevMode.main(DevMode.java:311)

       

      I have the jboss7 profile with the missing dependencies but I'm not sure how to run the app in development mode using jboss7 profile. I've tried mvn -Pjboss7 gwt:run but it didn't work.

       

      Any ideas?

       

      Thanks in advance.