niharika.cshetty Posted September 27, 2022 Share Posted September 27, 2022 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 More sharing options...
arlinezxdwlarkin2748 Posted December 27, 2022 Share Posted December 27, 2022 While you can still edit the XML files manually it's not suggested to do so. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now