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

Commit 834426f

Browse files
authored
Merge pull request #98 from sishida/sishida_92_Appsody
Adding section about Appsody and Maven
2 parents 4ffb1dc + 22df2c3 commit 834426f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/_documentations/troubleshooting.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,23 @@ If you work with Appsody projects in Codewind for VS Code, you might receive mes
312312
1. Right-click the project and select **Restart in Debug Mode**. You might receive an error message that states, `Failed to attach to remote debuggee VM` or `Failed to attach debugger`.
313313
2. Right-click on the project and select `Attach Debugger`.
314314

315+
<!--
316+
Action/Topic: Appsody with Codewind
317+
Issue type: bug/info
318+
Issue link: https://github.com/eclipse/codewind-docs/issues/92
319+
18.10:
320+
-->
321+
## Appsody mount errors on Windows Enterprise
322+
If you use Windows Enterprise and authenticate through Azure Active Directory (AAD), you might see mount errors when you use any of the Java Appsody stacks, such as `java-microprofile` or `java-spring-boot2`.
323+
324+
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+
329+
**Workaround:** Configure the Maven `.m2` cache to be outside of your home directory. 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.
330+
- Example: `MAVEN_OPTS=-Dmaven.repo.local=C:\somefolder\.m2\repository`
331+
315332
<!--
316333
Action/Topic: Appsody with Codewind
317334
Issue type: bug/info

0 commit comments

Comments
 (0)