Improve error message when attempting to build an image when using war packaging with Maven #24522
The current error message when running
which doesn't make it clear that war packing is the root cause of the error.
The documentation should also state more clearly that
The text was updated successfully, but these errors were encountered: