Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions spring-boot-demo-helloworld/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
# spring-boot-demo-helloworld

## Runing spring boot demo helloworld

```sh
$ mvn spring-boot:run
```
##
> 本 demo 演示如何使用 Spring Boot 写一个hello world

## pom.xml
### pom.xml
```xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down Expand Up @@ -59,7 +65,7 @@
</project>
```

## SpringBootDemoHelloworldApplication.java
### SpringBootDemoHelloworldApplication.java

```java
/**
Expand Down Expand Up @@ -99,7 +105,7 @@ public class SpringBootDemoHelloworldApplication {
}
```

## application.yml
### application.yml

```yaml
server:
Expand Down