Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit c7f5cb5

Browse files
committed
Adding example
Signed-off-by: Sarah Ishida <sishida@us.ibm.com>
1 parent 6ba6f52 commit c7f5cb5

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/_documentations/troubleshooting.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,11 @@ Issue link: https://github.com/eclipse/codewind-docs/issues/92
321321
## Appsody does not mount the Maven cache to the Appsody application container
322322
If you work with Windows Enterprise, such as Azure ID, and use any of the Java Appsody stacks, such as `java-microprofile` or `java-spring-boot2`, Appsody does not mount the Maven cache to the Appsody application container.
323323

324+
If you don't set the `MAVEN_OPTS` environment variable, you might receive an error message in the `appsody.log` file when you try to create an Appsody project:
325+
```
326+
[Container] docker: Error response from daemon: error while creating mount source path '/C/Users/<user name>/.m2/repository': mkdir /C/Users/<user name>/.m2: permission denied.
327+
```
328+
324329
**Workaround:** Configure the Maven `.m2` cache to be outside of your home directory.
325330
1. If you log in to your Windows machine as an Azure user, and you want to create Appsody applications, set the global `MAVEN_OPTS` environment variable before you start Eclipse or VS Code.
326331
- Example: `MAVEN_OPTS=-Dmaven.repo.local=C:\somefolder\.m2\repository`

0 commit comments

Comments
 (0)