Run mule-build doctor --operation <build|test|run|release> first. It reports each required component with
a remediation line, which resolves most of what follows without reading further.
Install Maven and confirm mvn -v works in the same shell the CLI runs in. A GUI-launched IDE may not inherit your shell PATH
pom.xml not found
You are not in the project root. Pass -C /path/to/project
mule-maven-plugin not found in pom.xml
The POM is not a Mule application POM. This check is what separates a Mule project from any other Maven project, and building without it would fail later with a worse message
src/main/mule not found
Non-standard layout. Restore the standard directory rather than pointing the tool elsewhere
A Java error from Maven
Java is not verified separately, because Maven fails first with the real cause. Match the JDK to your Mule runtime version
Only run, status, and stop need one. Set --runtime-home, MULE_HOME, or runtime.home, or place the distribution under a configured search path
A runtime exists but is rejected
Version or edition mismatch against what .classpath declares. With strictVersion: true that is refused deliberately; fix the runtime rather than disabling the check
run times out
Increase --timeout. First deployments are slower, and a cold JVM plus a large application can exceed a short default
status reports nothing while a Mule process is running
status inspects the runtime the project resolves to, not every Mule process on the machine. Pass the same --runtime-home you started with
Port already in use
A previous runtime is still up. mule-build stop --runtime-home ..., then retry