Unexpected element '{urn:jboss:cli:1.3}jboss-cli exception while executing CLI command through maven
Issue
- We are trying to execute CLI command through maven plugin
execute-commandsas described in KCS article but it fails with exception:
Failed to execute goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands (default-cli) on project CLI_command: Execution default-cli of goal org.jboss.as.plugins:jboss-as-maven-plugin:7.4.Final:execute-commands failed: Failed to initialize CLI context: Failed to parse /jboss-eap-6.3/bin/jboss-cli.xml: ParseError at [row,col]:[6,38]
[ERROR] Message: Unexpected element '{urn:jboss:cli:1.3}jboss-cli'
[ERROR] -> [Help 1]
[ERROR]
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
