Coder Social home page Coder Social logo

spring-guides / gs-spring-boot-for-azure Goto Github PK

View Code? Open in Web Editor NEW
12.0 12.0 48.0 535 KB

Deploying a Spring Boot app to Azure :: Learn how to deploy a Spring Boot app to Azure.

Home Page: https://spring.io/guides/gs/spring-boot-for-azure

License: Apache License 2.0

Shell 36.38% Java 18.79% Bicep 32.17% PowerShell 12.66%

gs-spring-boot-for-azure's People

Contributors

bclozel avatar chenrujun avatar doobrie avatar gregturn avatar moarychan avatar rmcmurray avatar royclarkson avatar saragluna avatar yiliuto avatar yucwan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gs-spring-boot-for-azure's Issues

Wrong link address

Describe the issue:
Link address error, there are redundant symbols )

image

Suggestion:
Remove ) in the link address.

@hemarina for notification.

Delete unused files

In my understanding, there files / folders are not used anymore. How about deleting them?

image

Build Failure when Running Command ./mvnw clean package

Hi, I am new to Spring and Azure.
I follow the step 6 in 'Build and run the web app locally' and run the command: ./mvnw clean package
There is failure. The error message is:

[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.71 s <<< FAILURE! - in hello.GreetingControllerTest
[ERROR] greetingShouldReturnDefaultMessage Time elapsed: 0.583 s <<< FAILURE!
java.lang.AssertionError: Status expected:<200> but was:<404>
at hello.GreetingControllerTest.greetingShouldReturnDefaultMessage(GreetingControllerTest.java:43)

content outdated

Hi there,

I'm a PM from Java on Azure team and would like to help improve this article.

The content of this article is outdated and the repo used is no longer under maintenance. The workflow has changed a lot and users can now achieve the same with following command:

git clone https://github.com/spring-projects/spring-petclinic.git
cd spring-petclinic
./mvnw package

mvn com.microsoft.azure:azure-webapp-maven-plugin:1.8.0:config
mvn azure-webapp:deploy

A similar docs can be found here.

BRs,
Yuchen

Failing to deploy the app to Azure Spring Apps

Describe the issue:
When executing ./mvnw azure-spring-apps:deploy according to README.md, the error is as follows:

image

Repro Steps:

  1. Create Azure Spring Apps in portal.
  2. Clone code to local and switch to complete folder.
  3. 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
  1. Deploy the app: ./mvnw azure-spring-apps:deploy

Environment:

  • OS: Windows desktop.

Expected behavior:
Deploying the app can pass.

@hemarina for notification.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.