Jump to content
We've recently updated our Privacy Statement, available here ×

WAR file deployment failed


niharika.cshetty

Recommended Posts

Getting the below error when trying to deploy the WAR file using the command ./js-ant deploy-webapp-ce.

I have done the below changes in jboss-deployment-structure.xml file , but still getting the error.

<?xml version="1.0" encoding="UTF-8"?>
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
  <deployment>
    <exclude-subsystems>
      <subsystem name="logging"/>
    </exclude-subsystems>
    <exclusions>
        <module name="org.apache.logging.log4j.api"/>
    </exclusions>
  </deployment>
</jboss-deployment-structure>

 

{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit."jasperserver.war".undertow-deployment" => "java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.LoggerContext

    Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.LoggerContext"}}

Link to comment
Share on other sites

  • 2 months later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...