WAR file deployment failed

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"}}

niharika.cshetty's picture
Joined: Sep 29 2020 - 6:17am
Last seen: 2 months 6 days ago

0 Answers:

No answers yet
Feedback
randomness