0 Replies Latest reply on Aug 30, 2016 5:06 AM by kuldeep11

    Caused by: java.lang.ClassNotFoundException: org.jboss.as.server.ServerEnvironmentService from [Module \"deployment.AppName.war:main\" from Service Module Loader]"}

    kuldeep11

      Hi,

       

      While deploying my application on Wildfly 9.0.2, we are getting below exceptions.

      Can someone guide on this?

      Controller Boot Thread 2016-08-30 04:20:16,103 | ERROR | session=       | user=           | org.jboss.as.controller.management-operation | WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "AppName.war")]) - failure description: {

          "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"Appname.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"Appname.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"Appname.war\"

          Caused by: java.lang.NoClassDefFoundError: org/jboss/as/server/ServerEnvironmentService

          Caused by: java.lang.ClassNotFoundException: org.jboss.as.server.ServerEnvironmentService from [Module \"deployment.Appname.war:main\" from Service Module Loader]"},

          "WFLYCTL0180: Services with missing/unavailable dependencies" => [

              "jboss.deployment.unit.\"Appname.war\".batch.environment is missing [jboss.deployment.unit.\"Appname.war\".beanmanager]",

              "jboss.deployment.unit.\"Appname.war\".weld.weldClassIntrospector is missing [jboss.deployment.unit.\"Appname.war\".beanmanager]"

          ]

      }

      ServerService Thread Pool -- 38 2016-08-30 04:20:16,174 | INFO  | session=       | user=           | org.jboss.as.server | WFLYSRV0010: Deployed "otherapp.ear" (runtime-name : "otherapp.ear")

      ServerService Thread Pool -- 38 2016-08-30 04:20:16,174 | INFO  | session=       | user=           | org.jboss.as.server | WFLYSRV0010: Deployed "Appname.war" (runtime-name : "Appname.war")

      Controller Boot Thread 2016-08-30 04:20:16,175 | INFO  | session=       | user=           | org.jboss.as.controller | WFLYCTL0183: Service status report

      WFLYCTL0184:    New missing/unsatisfied dependencies:

            service jboss.deployment.unit."Appname.war".beanmanager (missing) dependents: [service jboss.deployment.unit."Appname.war".weld.weldClassIntrospector, service jboss.deployment.unit."Appname.war".batch.environment]

      WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."Appname.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."Appname.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "Appname.war"

       

      Thanks!