Failing to deploy the app to Azure Spring Apps
v-jiaodi opened this issue · comments
Describe the issue:
When executing ./mvnw azure-spring-apps:deploy
according to README.md, the error is as follows:
Repro Steps:
- Create
Azure Spring Apps
in portal. - Clone code to local and switch to
complete
folder. - Config the web app:
export MAVEN_OPTS="--add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED"
./mvnw com.microsoft.azure:azure-spring-apps-maven-plugin:1.14.0:config -DadvancedOptions
- Deploy the app:
./mvnw azure-spring-apps:deploy
Environment:
- OS: Windows desktop.
Expected behavior:
Deploying the app can pass.
@hemarina for notification.
@v-jiaodi thanks for helping testing the readme, could you change the version of maven plugin version from 1.14.0 to 1.18.0 and then rerun the deploy command?
that's to say, you can rerun the command ./mvnw com.microsoft.azure:azure-spring-apps-maven-plugin:1.18.0:config -DadvancedOptions
, then run ./mvnw azure-spring-apps:deploy
and see if the error still exists
@yiliuTo Retest with the command ./mvnw com.microsoft.azure:azure-spring-apps-maven-plugin:1.18.0:config -DadvancedOptions
, then run ./mvnw azure-spring-apps:deploy
, this error no longer exists.