From a3d7d7f91923d96c15117ec880ff3e235982adbc Mon Sep 17 00:00:00 2001 From: Vinod Pahuja Date: Tue, 26 Jun 2018 16:22:14 +0530 Subject: [PATCH] Fixed Typo in code --- README.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index 8692fe7..328b2b9 100644 --- a/README.adoc +++ b/README.adoc @@ -24,7 +24,7 @@ To create a Spring Boot archive, you need to pass `org.shrinkwrap.springboot.api ShrinkWrap.create(SpringBootArchive.class) .setSpringBootLayout(SpringBootLayouts.SPRING_BOOT_14) // <1> - .addClasses(Application.class, .HelloController.class) // <2> + .addClasses(Application.class, HelloController.class) // <2> .addAsLibraries(Maven.resolver() .resolve("org.springframework.boot:spring-boot-starter-web:1.4.4.RELEASE") @@ -52,4 +52,4 @@ ShrinkWrap.create(SpringBootArchive.class) Notice that the layout, the application libraries, the launcher, and the manifest all reference exactly the same Spring Boot version. IMPORTANT: To materialize a Spring Boot application, you need to use `ZipStoredExporter`, for example `springBootArchive.as(ZipStoredExporter.class).exportTo(new File("/tmp/app.jar"));` - See `SpringBootTest.validateSpringBootArchive(...)` for an example. \ No newline at end of file + See `SpringBootTest.validateSpringBootArchive(...)` for an example.