A springboot demo application
- Directly using maven:
mvn spring-boot:run
- From executable jar file:
mvn clean package -Dmaven.test.skip
java -jar target/springboot-demo-0.0.1-SNAPSHOT.jar
error: The main class org. apache. maven. wrapper. MavenWrapperMain cannot be found or loaded:
mvn -N io.takari:maven:wrapper
- From within your IDE right click run
SpringbootDemoApplication.java
Use curl to authenticate the interface
curl --request GET -sL \
--url 'http://localhost:8081/'