You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/spring-apps/troubleshoot-build-exit-code.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ The following list describes some common exit codes:
37
37
38
38
- You're running against the wrong path; for example, your Maven project's *pom.xml* file isn't in the root path.
39
39
40
-
Set `BP_MAVEN_POM_FILE` to specify the project's *pom.xml* file.
40
+
Set `BP_MAVEN_POM_FILE` to specify the location of the project's *pom.xml* file.
41
41
42
42
- There's something wrong with your application; for example, your *jar* file doesn't have a */META-INF/MANIFEST.MF* file that contains a *Main-Class* entry.
43
43
@@ -47,7 +47,7 @@ The following list describes some common exit codes:
47
47
48
48
- If Azure Spring Apps displays the error message *Build failed in stage build with reason OOMKilled* in the Azure CLI console, the build failed due to insufficient memory.
49
49
50
-
Use the following command to increase memory using the `build-memory` environment variable in Azure CLI:
50
+
Use the following command to increase memory using the `build-memory` environment variable:
51
51
52
52
```azurecli
53
53
az spring app deploy \
@@ -57,11 +57,11 @@ The following list describes some common exit codes:
57
57
--build-memory 3Gi
58
58
```
59
59
60
-
- An application source code error; for example, there's a compilation error in your source code.
60
+
- The build failed because of an application source code error; for example, there's a compilation error in your source code.
61
61
62
62
Check the build log to find the root cause.
63
63
64
-
- A download dependency error; for example, the Maven dependency download failed due to a network issue.
64
+
- The build failed because of a download dependency error; for example, a network issue caused the Maven dependency download to fail.
65
65
66
66
- **62** - Failed to write image to Azure Container Registry.
0 commit comments