Giter VIP home page Giter VIP logo

gs-rest-service's Introduction

This guide walks you through the process of creating a “Hello, World” RESTful web service with Spring.

What You Will Build

You will build a service that will accept HTTP GET requests at http://localhost:8080/greeting.

It will respond with a JSON representation of a greeting, as the following listing shows:

{"id":1,"content":"Hello, World!"}

You can customize the greeting with an optional name parameter in the query string, as the following listing shows:

http://localhost:8080/greeting?name=User

The name parameter value overrides the default value of World and is reflected in the response, as the following listing shows:

{"id":1,"content":"Hello, User!"}

Starting with Spring Initializr

You can use this pre-initialized project and click Generate to download a ZIP file. This project is configured to fit the examples in this tutorial.

To manually initialize the project:

  1. Navigate to https://start.spring.io. This service pulls in all the dependencies you need for an application and does most of the setup for you.

  2. Choose either Gradle or Maven and the language you want to use. This guide assumes that you chose Java.

  3. Click Dependencies and select Spring Web.

  4. Click Generate.

  5. Download the resulting ZIP file, which is an archive of a web application that is configured with your choices.

Note
If your IDE has the Spring Initializr integration, you can complete this process from your IDE.
Note
You can also fork the project from Github and open it in your IDE or other editor.

Create a Resource Representation Class

Now that you have set up the project and build system, you can create your web service.

Begin the process by thinking about service interactions.

The service will handle GET requests for /greeting, optionally with a name parameter in the query string. The GET request should return a 200 OK response with JSON in the body that represents a greeting. It should resemble the following output:

{
    "id": 1,
    "content": "Hello, World!"
}

The id field is a unique identifier for the greeting, and content is the textual representation of the greeting.

To model the greeting representation, create a resource representation class. To do so, provide a Java record class for the id and content data, as the following listing (from src/main/java/com/example/restservice/Greeting.java) shows:

link:complete/src/main/java/com/example/restservice/Greeting.java[role=include]
Note
This application uses the Jackson JSON library to automatically marshal instances of type Greeting into JSON. Jackson is included by default by the web starter.

Create a Resource Controller

In Spring’s approach to building RESTful web services, HTTP requests are handled by a controller. These components are identified by the @RestController annotation, and the GreetingController shown in the following listing (from src/main/java/com/example/restservice/GreetingController.java) handles GET requests for /greeting by returning a new instance of the Greeting class:

link:complete/src/main/java/com/example/restservice/GreetingController.java[role=include]

This controller is concise and simple, but there is plenty going on under the hood. We break it down step by step.

The @GetMapping annotation ensures that HTTP GET requests to /greeting are mapped to the greeting() method.

Note
There are companion annotations for other HTTP verbs (e.g. @PostMapping for POST). There is also a @RequestMapping annotation that they all derive from, and can serve as a synonym (e.g. @RequestMapping(method=GET)).

@RequestParam binds the value of the query string parameter name into the name parameter of the greeting() method. If the name parameter is absent in the request, the defaultValue of World is used.

The implementation of the method body creates and returns a new Greeting object with id and content attributes based on the next value from the counter and formats the given name by using the greeting template.

A key difference between a traditional MVC controller and the RESTful web service controller shown earlier is the way that the HTTP response body is created. Rather than relying on a view technology to perform server-side rendering of the greeting data to HTML, this RESTful web service controller populates and returns a Greeting object. The object data will be written directly to the HTTP response as JSON.

This code uses Spring @RestController annotation, which marks the class as a controller where every method returns a domain object instead of a view. It is shorthand for including both @Controller and @ResponseBody.

The Greeting object must be converted to JSON. Thanks to Spring’s HTTP message converter support, you need not do this conversion manually. Because Jackson 2 is on the classpath, Spring’s MappingJackson2HttpMessageConverter is automatically chosen to convert the Greeting instance to JSON.

Run the Service

The Spring Initializr creates an application class for you. In this case, you do not need to further modify the class. The following listing (from src/main/java/com/example/restservice/RestServiceApplication.java) shows the application class:

link:complete/src/main/java/com/example/restservice/RestServiceApplication.java[role=include]

Logging output is displayed. The service should be up and running within a few seconds.

Test the Service

Now that the service is up, visit http://localhost:8080/greeting, where you should see:

{"id":1,"content":"Hello, World!"}

Provide a name query string parameter by visiting http://localhost:8080/greeting?name=User. Notice how the value of the content attribute changes from Hello, World! to Hello, User!, as the following listing shows:

{"id":2,"content":"Hello, User!"}

This change demonstrates that the @RequestParam arrangement in GreetingController is working as expected. The name parameter has been given a default value of World but can be explicitly overridden through the query string.

Notice also how the id attribute has changed from 1 to 2. This proves that you are working against the same GreetingController instance across multiple requests and that its counter field is being incremented on each call as expected.

Summary

Congratulations! You have just developed a RESTful web service with Spring.

gs-rest-service's People

Contributors

bclozel avatar benoitf avatar bodote avatar bornuv avatar btalbott avatar buzzardo avatar cbeams avatar dloetzke avatar dsyer avatar e-n-l avatar gberaudo avatar gregturn avatar habuma avatar jxblum avatar manalocked avatar martinlippert avatar mbeaudru avatar mdave16 avatar nickstreet avatar robertmcnees avatar royclarkson avatar sdeleuze avatar sergiovlvitorino avatar spring-operator avatar vijeyakumar26 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gs-rest-service's Issues

Spring Rest Service Tutorial "gs-rest-service" - No converter found for return value of type: class hello.Greeting

Hi Guys,
I am having a problem running the Spring Rest Service Tutorial... gs-rest-service
(See: "https://spring.io/guides/gs/rest-service/")

There appears to be issues around mapping Java/JSON.

The error I get is...
"No converter found for return value of type: class hello.Greeting"
The URL I'm using...
"http://localhost:8080/greeting?name=User"
I'm running the app from within STS as...
"Spring Boot App"

My environment is:

Windows 7
Java 8 (1.8.0_144)
Maven 3.5.2
Spring Tool Suite Version: 3.9.1.RELEASE ( Platform: Eclipse Oxygen.1a (4.7.1a) )

It happens with both the self-built "gs-rest-service-initial" and the completed version "gs-rest-service-complete"

These are things I've already checked after reading other peoples suggestions...

Yes, the Greeting does have getters
The jackson databind, annotaions and core libraries are present (all at version 2.8.10)
I tried commenting out the org.springframework.boot in the pom.xml but it made it worse
I also tried restarting STS but it had no effect

I also tied exporting it as a jar to run outside of STS but I got all kinds of issues but that may have been my "jar-ing"
I did an export as runnable jar with the option "Package required libraries into generated jar"

Anyone have any ideas?

Thanks

HTTP 404 Status with spring boot 1.5.17.RELEASE

The service in gs-rest-service/complete responds with a 404 status code when calling http://localhost:8080/greeting. This happens with spring boot 1.5.17.

The service responds successfully with spring boot 1.5.16, 2.0.5 and 2.1.0.

The service is started from within Spring Tool Suite 3.9.5.RELEASE on a Linux openSUSE Tumbleweed version 20181107.

pom.xml has unnecessary <start-class>

I was confused to see that the pom.xml includes:

<properties>
    <start-class>hello.Application</start-class>
</properties>

since the main documentation doesn't include references to it. It's unnecessary and adds complexity for a getting started guide.

I was about to submit a pull request to remove it, but then I saw that all of the spring-guides include it. Possibly there's some reason for keeping it?

Suggestions and feedback

  • Make reference to other guides consistent, like "Getting Started with Maven" and "Getting Started with Gradle".
  • The guide feels a tad abstract. I would like having a sense of what we're going to build before we start writing the code. In my own guide, I introduce the idea of scheduling a task to clean out old user accounts. Yours appears to fetch a JSON greeting message. Can you write that up before we start writing the code?
  • public class Greeting appears to lack one indentation inside the methods.
  • edit "(such as JSP)" to read "(such as a JSP)"
  • The sentence "Because Jackson 2 is in the classpath, this means that MappingJackson2HttpMessageConverter will handle the conversion of Greeting to JSON if the request's Accept header specifies that JSON should be returned." seems a tad wordy. Maybe "Because Jackson 2 is in the classpath, MappingJackson2HttpMessageConverter is automatically picked to convert Greeting to JSON." Is JSON the default option in Accept headers? If so, then do we need that extra clause at the end? What if JSON isn't in Accept header. This whole bit might fit better in a blockquote just below the previous sentence, kind of like a sidebar/pullout.
  • I think I heard @cbeams mention in the face-to-face avoiding "Next Steps" language. Maybe "Related" would work here. I think about how Wikipedia provides links at the bottom, either in External or Related sections.

getting Could not resolve org.springframework.boot:spring-boot-gradle-plugin:1.5.4.RELEASE.

i am total noob trying to get spring boot build via gradle, but i am getting the following error:

_A problem occurred configuring root project 'gradlePoC'.

Could not resolve all files for configuration ':classpath'.
Could not resolve org.springframework.boot:spring-boot-gradle-plugin:1.5.4.RELEASE.
Required by:
project :
> Could not resolve org.springframework.boot:spring-boot-gradle-plugin:1.5.4.RELEASE.
> Could not get resource 'https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.5.4.RELEASE/spring-boot-gradle-plugin-1.5.4.RELEASE.pom'.
> Could not GET 'https://repo1.maven.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.5.4.RELEASE/spring-boot-gradle-plugin-1.5.4.RELEASE.pom'.
> sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target_

I have downloaded the spring boot libraries and put inside my CLASSPATH in windows environment variable. please let me know how to make spring boot visible for the gradle build. Thank you.

Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/factory/ObjectProvider

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v1.4.2.RELEASE)

2016-12-05 17:34:54.177  INFO 64792 --- [           main] cn.ubibi.metadata.MainWebRestful         : Starting MainWebRestful on shangrenxiang-iMac.local with PID 64792 (/Users/luanhaipeng/github2/coolpeng-protobuf/cp-metadata/target/classes started by luanhaipeng in /Users/luanhaipeng/github2/coolpeng-protobuf)
2016-12-05 17:34:54.179  INFO 64792 --- [           main] cn.ubibi.metadata.MainWebRestful         : No active profile set, falling back to default profiles: default
2016-12-05 17:34:54.349  INFO 64792 --- [           main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@41fbdac4: startup date [Mon Dec 05 17:34:54 CST 2016]; root of context hierarchy
2016-12-05 17:34:56.430 ERROR 64792 --- [           main] o.s.boot.SpringApplication               : Application startup failed

java.lang.IllegalStateException: Cannot load configuration class: org.springframework.boot.autoconfigure.web.DispatcherServletAutoConfiguration$DispatcherServletRegistrationConfiguration
	at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:416) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanFactory(ConfigurationClassPostProcessor.java:263) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:284) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:130) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at cn.ubibi.metadata.MainWebRestful.main(MainWebRestful.java:9) [classes/:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_05]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_05]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_05]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_05]
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) [idea_rt.jar:na]
Caused by: java.lang.IllegalStateException: Unable to load cache item
	at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:79) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.core.internal.LoadingCache.get(LoadingCache.java:34) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData.get(AbstractClassGenerator.java:116) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:291) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.proxy.Enhancer.createHelper(Enhancer.java:480) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.proxy.Enhancer.createClass(Enhancer.java:337) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassEnhancer.createClass(ConfigurationClassEnhancer.java:135) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassEnhancer.enhance(ConfigurationClassEnhancer.java:107) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassPostProcessor.enhanceConfigurationClasses(ConfigurationClassPostProcessor.java:406) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	... 17 common frames omitted
Caused by: java.lang.NoClassDefFoundError: org/springframework/beans/factory/ObjectProvider
	at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.8.0_05]
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2658) ~[na:1.8.0_05]
	at java.lang.Class.getDeclaredConstructors(Class.java:2007) ~[na:1.8.0_05]
	at org.springframework.cglib.proxy.Enhancer.generateClass(Enhancer.java:566) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.transform.TransformingClassGenerator.generateClass(TransformingClassGenerator.java:33) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanFactoryAwareGeneratorStrategy.generate(ConfigurationClassEnhancer.java:249) ~[spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.core.AbstractClassGenerator.generate(AbstractClassGenerator.java:329) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.proxy.Enhancer.generate(Enhancer.java:492) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:93) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.core.AbstractClassGenerator$ClassLoaderData$3.apply(AbstractClassGenerator.java:91) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.cglib.core.internal.LoadingCache$2.call(LoadingCache.java:54) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[na:1.8.0_05]
	at org.springframework.cglib.core.internal.LoadingCache.createEntry(LoadingCache.java:61) ~[spring-core-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	... 25 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.beans.factory.ObjectProvider
	at java.net.URLClassLoader$1.run(URLClassLoader.java:372) ~[na:1.8.0_05]
	at java.net.URLClassLoader$1.run(URLClassLoader.java:361) ~[na:1.8.0_05]
	at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_05]
	at java.net.URLClassLoader.findClass(URLClassLoader.java:360) ~[na:1.8.0_05]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_05]
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) ~[na:1.8.0_05]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_05]
	... 39 common frames omitted

2016-12-05 17:34:56.431  INFO 64792 --- [           main] ationConfigEmbeddedWebApplicationContext : Closing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@41fbdac4: startup date [Mon Dec 05 17:34:54 CST 2016]; root of context hierarchy
2016-12-05 17:34:56.433  WARN 64792 --- [           main] ationConfigEmbeddedWebApplicationContext : Exception thrown from LifecycleProcessor on context close

java.lang.IllegalStateException: LifecycleProcessor not initialized - call 'refresh' before invoking lifecycle methods via the context: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@41fbdac4: startup date [Mon Dec 05 17:34:54 CST 2016]; root of context hierarchy
	at org.springframework.context.support.AbstractApplicationContext.getLifecycleProcessor(AbstractApplicationContext.java:415) [spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.doClose(AbstractApplicationContext.java:975) [spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.context.support.AbstractApplicationContext.close(AbstractApplicationContext.java:934) [spring-context-4.2.8.RELEASE.jar:4.2.8.RELEASE]
	at org.springframework.boot.SpringApplication.handleRunFailure(SpringApplication.java:818) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) [spring-boot-1.4.2.RELEASE.jar:1.4.2.RELEASE]
	at cn.ubibi.metadata.MainWebRestful.main(MainWebRestful.java:9) [classes/:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_05]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_05]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_05]
	at java.lang.reflect.Method.invoke(Method.java:483) ~[na:1.8.0_05]
	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) [idea_rt.jar:na]


Process finished with exit code 1

----------pom.xml

    <build>
        <plugins>
            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>
        </plugins>
    </build>

    <dependencies>
        <!--<dependency>-->
            <!--<groupId>org.springframework.data</groupId>-->
            <!--<artifactId>spring-data-mongodb</artifactId>-->
            <!--<version>1.9.5.RELEASE</version>-->
        <!--</dependency>-->

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <version>1.4.2.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-actuator</artifactId>
            <version>1.4.2.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <version>1.4.2.RELEASE</version>
            <scope>test</scope>
        </dependency>


    </dependencies>

HTTP Status 404 - /greeting

I have just freshly cloned this repository and run the application (mvn spring-boot:run). I can see the nice ASCII art of spring telling me that the application is running on the root context, hooray!

However GET http://localhost:8080/greeting responses me 404, sigh...

Any idea?

How can you change port?

The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be misconfigured.

I could not run the app even once so the port is busy for some reason. You cannot change the port from the configuration. Does anybody know how to?

readme does not display all markup properly

I noticed that some parts of the text in the readme were displaying as a link to the raw file rather than displaying properly. For instance, under "what you'll need". It is, however, displaying properly on the spring.io version of the tutorial. I'm guessing it's not supposed to look like that?

screen shot 2017-04-19 at 2 13 54 pm

Failed to load Main-Class manifest using the pom.xml provided

Hello, Im not sure if I this is the place to report this, but Im doing the "Building a RESTful Web Service" Guide, and when I try to run the app with:

mvn clean package && java -jar target/gs-rest-service-0.1.0.jar

I get the error

Failed to load Main-Class manifest attribute from
target/gs-rest-service-0.1.0.jar

I used the pom.xml described in the tutorial: https://github.com/spring-guides/gs-rest-service/blob/master/complete/pom.xml, I think there is a problem with the packaging which is not creating the MANIFEST.MF correctly.

Note:
Im just learning maven, so it might be a missinterpretation of my part.

typo issue

[ERROR] No plugin found for prefix 'spirng-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories

Using maven on the project. Java 8

I can't track down where the typo issue is, but it is present in both the initial and completed versions. I encounter this when I attempt to run ./mvnw spring-boot:run via the command line.

Session "Build with Maven" doesn't expand when clicked on Firefox

The sessions "Build with Maven" and "Build with your IDE" don't expand when clicked on Firefox. Luckily I wanted Gradle 😄 The hand cursor appears, but nothing happens when the user clicks on them. I have tested on Chrome and it works fine.

This is possibly not the right place to create this issue but I couldn't find where exactly this bug belongs. Please tell me if there is a more appropriate project to do this.

build fails

Did clean checkout and build according to directions. Build failed, expected clean checkout and build to succeed immediately. This is for gs-rest-service 0.1.0.

$ gradlew build
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar
:repackage FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':repackage'.

    java.lang.IllegalArgumentException (no error message)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 1.267 secs

Not able to run the application

I created this application in STS and followed each step given in the guide but while running the application I get below page error

http://localhost:8080/greeting

Page load failed with error: The network connection was lost.

The error is same while running the code from this repository. Could please help running the application.

screen shot 2016-08-30 at 1 52 22 am

Not able to generate JSON Response

While trying to run this application as a Spring Boot App I get the following error
"This application has no explicit mapping for /error, so you are seeing this as a fallback."

IntelliJ IDEA + scratch writing = dependency issues

I'm trying to follow the tutorial as written, and in the Working a Getting Started guide with IntelliJ IDEA guide, it does say near the bottom:

In case you’d like to start with an empty project and copy-and-paste your way through the
guide, create a new Maven or Gradle project in the Project Wizard

Which is what I did.

Unfortunately, there's no other mention of how to inject the dependencies needed after that, either on the main tut page or the IntelliJ page, so there's trouble as soon as we're writing up the resource controller.

I suggest an expandable section somewhere in there, to clue in the random IntelliJ guy taking the long road.

Java 9 is not compatible with Gradle 2.13

I tried to build the project in "complete" folder using IntelliJ IDEA + JDK 9 + Gradle and encountered the error:

"Could not determine java version from '9.0.4 '"

Then I upgraded Gradle to version 4.4.1 in gradle-wrapper.properties:

distributionUrl=https://services.gradle.org/distributions/gradle-4.4.1-bin.zip

and it helped.

Please update Gradle in the source code.

pom.xml file missing spring-boot-maven-plugin in initial directory

I was getting the following error message when trying to run the jar file version in gs-rest-service-initial with maven.

Failed to load Main-Class manifest attribute from target/gs-rest-service-0.1.0.jar

Finally I noticed in the complete directory the pom.xml included this plugin.

            <plugin>
                <groupId>org.springframework.boot</groupId>
                <artifactId>spring-boot-maven-plugin</artifactId>
            </plugin>

I think this needs to added to the pom.xml in the initial directory. Everything worked as soon as I added it.

Jump to title when unfolding collapsed items

Click on "building with gradle"
Scroll down
Click on "building with maven"
You're left halfway in the maven content. It would be good to scroll so that the start of the section is in view.

It might also be nice to animate the expand/collapse

Broken link to maven pom

From SPR-11632

On the spring web service tutorial, the link the the maven build file is broken.
Tutorial:
https://spring.io/guides/gs/rest-service/
Broken link:
In section "Create a Gradle build file" with label "right here."
https://github.com/spring-guides/%7Bproject_id%7D/blob/master/initial/pom.xml
Result:
This github link causes a 404. It looks like $7Bproject_id%7D is supposed to be substituted for some other value, but whatever backend the tutorial uses is failing to do it.
Expected Behaviour:
This link should let me download the maven pom.xml to use for the tutorial.

java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration

When runnning Junit Test it throws an error

java.lang.IllegalStateException: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test
at org.springframework.util.Assert.state(Assert.java:73)
at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.getOrFindConfigurationClasses(SpringBootTestContextBootstrapper.java:243)
at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.processMergedContextConfiguration(SpringBootTestContextBootstrapper.java:155)
at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:395)
at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildDefaultMergedContextConfiguration(AbstractTestContextBootstrapper.java:312)
at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildMergedContextConfiguration(AbstractTestContextBootstrapper.java:265)
at org.springframework.test.context.support.AbstractTestContextBootstrapper.buildTestContext(AbstractTestContextBootstrapper.java:108)
at org.springframework.boot.test.context.SpringBootTestContextBootstrapper.buildTestContext(SpringBootTestContextBootstrapper.java:99)
at org.springframework.test.context.TestContextManager.(TestContextManager.java:139)
at org.springframework.test.context.TestContextManager.(TestContextManager.java:124)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTestContextManager(SpringJUnit4ClassRunner.java:151)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.(SpringJUnit4ClassRunner.java:142)
at org.springframework.test.context.junit4.SpringRunner.(SpringRunner.java:49)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at org.junit.internal.builders.AnnotatedBuilder.buildRunner(AnnotatedBuilder.java:104)
at org.junit.internal.builders.AnnotatedBuilder.runnerForClass(AnnotatedBuilder.java:86)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.builders.AllDefaultPossibilitiesBuilder.runnerForClass(AllDefaultPossibilitiesBuilder.java:26)
at org.junit.runners.model.RunnerBuilder.safeRunnerForClass(RunnerBuilder.java:59)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequest.java:33)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createUnfilteredTest(JUnit4TestLoader.java:87)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.createTest(JUnit4TestLoader.java:73)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.loadTests(JUnit4TestLoader.java:46)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:523)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:761)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:461)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:207)

Update with @GetMapping

I have read in updates, @GetMapping and @PostMapping added. I think it is good if you can update the source and guide with this and any related updates too.

Gradle bootRun doesn't work inside /initial

jadekler at Jeans-MacBook-Pro in ~/Documents/gs-rest-service/initial on master
$ gradle bootRun
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:findMainClass
:bootRun FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':bootRun'.
> No main class specified

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 2.801 secs

Running into "org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class"

Hello Everyone,
I am trying to run the spring-boot starter guide and when I try to run the DemoApplication.java as a spring boot app, I am running into the following exception. Can you please help me on resolving this issue. FYI: I am using STS as my IDE.

. ____ _ __ _ _
/\ / ' __ _ ()_ __ __ _ \ \ \
( ( )_
| '_ | '| | ' / ` | \ \ \
/ )| |)| | | | | || (| | ) ) ) )
' |
| .**|| ||| |**, | / / / /
=========||==============|/=///_/
:: Spring Boot :: (v1.4.1.RELEASE)

2016-09-28 11:43:14.604 INFO 71255 --- [ main] com.example.DemoApplication : Starting DemoApplication on MC02S45BBG8WP with PID 71255 (/Users/mpulipaka/Documents/workspace-sts-3.6.0.RELEASE/demo/target/classes started by mpulipaka in /Users/mpulipaka/Documents/workspace-sts-3.6.0.RELEASE/demo)
2016-09-28 11:43:14.607 INFO 71255 --- [ main] com.example.DemoApplication : No active profile set, falling back to default profiles: default
2016-09-28 11:43:14.625 INFO 71255 --- [kground-preinit] org.hibernate.validator.util.Version : Hibernate Validator 4.0.0.GA
2016-09-28 11:43:14.632 INFO 71255 --- [kground-preinit] o.h.v.e.r.DefaultTraversableResolver : Instantiated an instance of org.hibernate.validator.engine.resolver.JPATraversableResolver.
2016-09-28 11:43:14.652 INFO 71255 --- [ main] ationConfigEmbeddedWebApplicationContext : Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@1ab3a8c8: startup date [Wed Sep 28 11:43:14 PDT 2016]; root of context hierarchy
2016-09-28 11:43:14.953 WARN 71255 --- [ main] ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration]; nested exception is java.lang.NoClassDefFoundError: org/springframework/data/repository/config/RepositoryConfigurationSource
2016-09-28 11:43:14.970 ERROR 71255 --- [ main] o.s.boot.SpringApplication : Application startup failed

org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration]; nested exception is java.lang.NoClassDefFoundError: org/springframework/data/repository/config/RepositoryConfigurationSource
at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:548) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:286) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:237) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:539) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:482) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:191) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:324) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:246) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) ~[spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761) [spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371) [spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315) [spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186) [spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175) [spring-boot-1.4.1.RELEASE.jar:1.4.1.RELEASE]
at com.example.DemoApplication.main(DemoApplication.java:11) [classes/:na]
Caused by: java.lang.NoClassDefFoundError: org/springframework/data/repository/config/RepositoryConfigurationSource
at java.lang.Class.getDeclaredConstructors0(Native Method) ~[na:1.8.0_74]
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671) ~[na:1.8.0_74]
at java.lang.Class.getConstructor0(Class.java:3075) ~[na:1.8.0_74]
at java.lang.Class.getDeclaredConstructor(Class.java:2178) ~[na:1.8.0_74]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:102) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:125) ~[spring-beans-4.3.3.RELEASE.jar:4.3.3.RELEASE]
at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:529) ~[spring-context-4.3.3.RELEASE.jar:4.3.3.RELEASE]
... 18 common frames omitted
Caused by: java.lang.ClassNotFoundException: org.springframework.data.repository.config.RepositoryConfigurationSource
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_74]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_74]
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_74]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_74]
... 25 common frames omitted

a new CI build should be started to reflect the document change in spring guide website.

there is one minor change for the referenced document of our readme.adoc file,

https://raw.githubusercontent.com/spring-guides/getting-started-macros/master/spring-boot-application.adoc

the change is about remove the controller name "HelloController",because some projects have controller with a different name.

so I think our gs-rest-service project should kick a new CI build to reflect the change on the webpage of spring guide https://spring.io/guides/gs/rest-service/

I think the other guide projects also need new CI build. Maybe you can tell me how can I start the CI process by myself ?

I can't finish this guide

I know it's easy, but I encountered a wired problem, a part of console log is blow:
Exception in thread "main" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:62) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:54) ... 1 more Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: URL [jar:file:/home/gale/workspace/RESTful/target/gs-rest-service-0.1.0.jar!/lib/spring-boot-autoconfigure-1.3.3.RELEASE.jar!/org/springframework/boot/autoconfigure/jdbc/DataSourceAutoConfiguration$JdbcTemplateConfiguration.class]; nested exception is java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$JdbcTemplateConfiguration due to org/springframework/dao/DataAccessException not found. Make sure your own configuration does not rely on that class. This can also happen if you are @ComponentScanning a springframework package (e.g. if you put a @ComponentScan in the default package by mistake) at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:303) at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:248) at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:137) at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:268) at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:232) at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:199) at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:168) at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321) at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:678) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:520) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:766) at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:361) at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1191) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1180) at Application.main(Application.java:8) ... 6 more Caused by: java.lang.IllegalStateException: Could not evaluate condition on org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$JdbcTemplateConfiguration due to org/springframework/dao/DataAccessException not found. Make sure your own configuration does not rely on that class. This can also happen if you are @ComponentScanning a springframework package (e.g. if you put a @ComponentScan in the default package by mistake) at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:55) at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:102) at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:81) at org.springframework.context.annotation.ConditionEvaluator.shouldSkip(ConditionEvaluator.java:64) at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.isConditionMatch(ClassPathScanningCandidateComponentProvider.java:363) at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.isCandidateComponent(ClassPathScanningCandidateComponentProvider.java:347) at org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider.findCandidateComponents(ClassPathScanningCandidateComponentProvider.java:280) ... 25 more Caused by: java.lang.NoClassDefFoundError: org/springframework/dao/DataAccessException at org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$EmbeddedDataSourceCondition.getMatchOutcome(DataSourceAutoConfiguration.java:217) at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:155) at org.springframework.boot.autoconfigure.condition.SpringBootCondition.anyMatches(SpringBootCondition.java:138) at org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration$DataSourceAvailableCondition.getMatchOutcome(DataSourceAutoConfiguration.java:245) at org.springframework.boot.autoconfigure.condition.SpringBootCondition.matches(SpringBootCondition.java:47) ... 31 more Caused by: java.lang.ClassNotFoundException: org.springframework.dao.DataAccessException at java.net.URLClassLoader.findClass(URLClassLoader.java:381) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:178) at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:142) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 36 more

Why is this? Please help me.

Spring boot caanot be resolved to a type errors are coming after using all spring boot dependcies used as suggested in given exmple

Per @akhi9195:

Spring boot 'cannot be resolved to a type' errors are coming though spring boot dependencies are copy pasted from given example.

My Error in Application class :
' org.springframework.boot.SpringApplication' cannot be Resolved
'org.springframework.boot.autoconfigure.SpringBootApplication' cannot be Resolved.
etc

My Pom.xml : (copy pasted from given exm)

<?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"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>org.springframework</groupId>
	<artifactId>gs-rest-service</artifactId>
	<version>0.1.0</version>

	<parent>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-starter-parent</artifactId>
		<version>1.5.3.RELEASE</version> <!-- tried with 1.5.2.RELEASE also-->
	</parent>
	<dependencies>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<scope>test</scope>
		</dependency>
		<dependency>
			<groupId>com.jayway.jsonpath</groupId>
			<artifactId>json-path</artifactId>
			<scope>test</scope>
		</dependency>
	</dependencies>

	<properties>
		<java.version>1.8</java.version>
	</properties>


	<build>
		<plugins>
			<plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
		</plugins>
	</build>

	<repositories>
		<repository>
			<id>spring-releases</id>
			<url>https://repo.spring.io/libs-release</url>
		</repository>
	</repositories>
	<pluginRepositories>
		<pluginRepository>
			<id>spring-releases</id>
			<url>https://repo.spring.io/libs-release</url>
		</pluginRepository>
	</pluginRepositories>
</project>

Can't build using Maven due to ClassNotFoundException: ch.qos.logback.classic.joran.JoranConfigurator

App is building okayish using Gradle.

Tried to run app using Maven and encountered error, log is here:

$ mvn spring-boot:run
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building gs-rest-service 0.1.0
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] >>> spring-boot-maven-plugin:1.4.2.RELEASE:run (default-cli) > test-compile @ gs-rest-service >>>
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ gs-rest-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /tmp/rest/complete/src/main/resources
[INFO] skip non existing resourceDirectory /tmp/rest/complete/src/main/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ gs-rest-service ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ gs-rest-service ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /tmp/rest/complete/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ gs-rest-service ---
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< spring-boot-maven-plugin:1.4.2.RELEASE:run (default-cli) < test-compile @ gs-rest-service <<<
[INFO] 
[INFO] --- spring-boot-maven-plugin:1.4.2.RELEASE:run (default-cli) @ gs-rest-service ---
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
[WARNING] 
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:506)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoClassDefFoundError: ch/qos/logback/classic/joran/JoranConfigurator
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)
	at java.lang.Class.getConstructor0(Class.java:3075)
	at java.lang.Class.getConstructor(Class.java:1825)
	at org.springframework.boot.logging.LoggingSystem.get(LoggingSystem.java:126)
	at org.springframework.boot.logging.LoggingSystem.get(LoggingSystem.java:117)
	at org.springframework.boot.logging.LoggingApplicationListener.onApplicationStartedEvent(LoggingApplicationListener.java:225)
	at org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:205)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
	at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)
	at org.springframework.boot.context.event.EventPublishingRunListener.started(EventPublishingRunListener.java:63)
	at org.springframework.boot.SpringApplicationRunListeners.started(SpringApplicationRunListeners.java:48)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:304)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
	at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
	at hello.Application.main(Application.java:10)
	... 6 more
Caused by: java.lang.ClassNotFoundException: ch.qos.logback.classic.joran.JoranConfigurator
	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
	... 23 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.044 s
[INFO] Finished at: 2016-11-12T21:01:32+03:00
[INFO] Final Memory: 20M/176M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:1.4.2.RELEASE:run (default-cli) on project gs-rest-service: An exception occurred while running. null: InvocationTargetException: ch/qos/logback/classic/joran/JoranConfigurator: ch.qos.logback.classic.joran.JoranConfigurator -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Executing error

Hey all,

While I was building and executing this getting started project I got a mistake that does not let me see the project executing I will copy my log and I hope you can help me to understand what I have done badly. I use the following commands in the complete directory:

sergio:complete$ ./gradlew build
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:findMainClass
:jar
:bootRepackage
:assemble
:compileTestJava UP-TO-DATE
:processTestResources UP-TO-DATE
:testClasses UP-TO-DATE
:test UP-TO-DATE
:check UP-TO-DATE
:build

BUILD SUCCESSFUL

Total time: 4.772 secs
sergio:complete$ java -jar build/libs/gs-rest-service-0.1.0.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: hello/Application : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.springframework.boot.loader.LaunchedURLClassLoader.doLoadClass(LaunchedURLClassLoader.java:170)
at org.springframework.boot.loader.LaunchedURLClassLoader.loadClass(LaunchedURLClassLoader.java:142)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48)
at java.lang.Thread.run(Thread.java:745

Page not find

Given the link in the line of readme

"This guide walks you through the process of creating a "hello world" RESTful web service with Spring."

image

This is page not found.

image

mvn package fails

The maven version of this project won't buld. mvn package results in:

Plugin org.apache.maven.plugins:maven-surefire-plugin:2.15 or one of its dependencies could not be resolved: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:jar:2.15 from/to spring-snapshots (http://repo.spring.io/libs-snapshot): Access denied to: http://repo.spring.io/libs-snapshot/org/apache/maven/plugins/maven-surefire-plugin/2.15/maven-surefire-plugin-2.15.jar , ReasonPhrase:Forbidden. -> [Help 1]

Expected behavior is that maven generates a jar in the target directory.

add mvnw content for building from scratch

Hello!

When building this tutorial from scratch with Maven, you don't mention anything about the maven-wrapper plugin. I'd suggest somewhere towards the end of your "Build with Maven" section telling them to run mvn -N io.takari:maven:wrapper or whatever you think works best. If you follow the tutorial exactly, you get stuck at the part where you mention running ./mvnw spring-boot:run because none of the mvnw code has been added. It's there if you download the code to "skip the basics" but the start from scratch content you have doesn't mention anything about it.

Thanks!

Consider migrating the guides to `jcenter()`

Originally raised by @jbaruch in spring-projects/spring-boot#1361 but I think probably better discussed here:

Those are two small changes just a placeholder for a discussion, really. @philwebb, @gregturn, @joshlong, @rwinch and who's not are welcome to join :)
This is the follow up on this twitter conversation which started when during one of the maven central f*ck-ups @springboot proposed users to temporary use repo.spring.io. I asked why not suggesting permanently use jcenter, and then it all started :)

So, here are some of my points:

  1. Maven Central is limiting. Only jars, only releases. As you all know, Spring projects are more than release jars in central. Only by browsing boot project to find a nice place to spark a discussion I found references to:
    • jboss repo

    • spring.io milestones and snapshots repo

    • zip files in spring.io

      I bet it's just a start, and you know better. All those are already on Bintray (or should be on Bintray - the zip files are excluded without any proper reason ATM).
      The configuration can be greatly simplified.

  2. All the spring platform is released on Bintray before it is released on Central. Bintray releases aren't affected by the horrible oss.sonatype.org release platform process. Once the release is on Bintray, jcenter users can start consume it right away even if you (or us) are still struggling with the sync to Central.
  3. Bintray gives the users much more in terms of metadata. Just compare how Spring repository looks like in Bintray to how it looks in central. And that's even when no-one actually takes care of Bintray's spring repo (in terms of adding metadata - description, screenshots, links etc.) Once you will start publicizing your Bintray repository, people will start following the packages (getting notifications about new releases), rating and reviewing content, sharing in on twitter, etc, etc.
  4. Bintray is CDN-ed much better than Maven Central. While in the States we get similar performance, other places in the world will get much faster downloads.

Now to reply couple of points I saw against that move:

  1. Gradle 1.7 with jcenter() support was released more than a year ago. In the terms of innovating software (like Spring plaftorm and Gradle build tool) that's ages ago.
  2. You for sure won't be the first or only one who rely on jcenter for dependencies:
    • Android Studio generates new projects with jcenter() as the only repository
    • Groovy Grab resolves from jcenter as the first repository in the chain
    • next sbt version will have jcenter as a first-class resolver (hopefully a step to making it default, they suffer from Maven Central as well).
    • etc.
  3. Although it's backed-in in Maven, even in your own examples you add repositories to pom files (which is a bad idea even according to Sonatype) and/or provide sample/template settings.xml. That means you expect the users to deal with their repositories. That's a good thing. People should make reasonable choices about the source of their dependencies. If you already instruct the user to edit one's settings.xml, suggesting to use jcenter makes perfect sense of all the other reasons I listed.

Documentation Nit: Wrong class name

In the documentation for Building a RESTful Web Service, the last bullet point in the explanation of the @SpringBootApplication annotation reads:

  • @ComponentScan tells Spring to look for other components, configurations, and services in the the hello package, allowing it to find the HelloController.

It should say GreetingController instead of HelloController.

complete version seems to missing bean validator implementation

I am trying the latest version of this guide in STS, importing the complete version, and project is imported just fine. But starting up the app fails with:

***************************
APPLICATION FAILED TO START
***************************

Description:

The Bean Validation API is on the classpath but no implementation could be found

Action:

Add an implementation, such as Hibernate Validator, to the classpath

Error in my program

Even though ApplicationEvent class is there in Maven dependency but don't know why it's showing error
Exception in thread "main" java.lang.NoClassDefFoundError: org/springframework/context/ApplicationEvent
at hello.Application.main(Application.java:10)
Caused by: java.lang.ClassNotFoundException: org.springframework.context.ApplicationEvent
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Please help me

Can't import org.springframework.web.*

My pom is exactly the same as you provided,
but I can't use the annotation of RestController and RequestMapping ...
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
the above three imports did not work at all.

Caused by: java.lang.ClassNotFoundException: org.springframework.data.repository.CrudRepository

Hi, I am new to spring boot. 

I've tried to look for an answer, but without success. Can someone explain to me why this is happening and tell me how I can fix it?

Error log:

   
    
      .   ____          _            __ _ _
     /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
    ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
     \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
      '  |____| .__|_| |_|_| |_\__, | / / / /
     =========|_|==============|___/=/_/_/_/
     :: Spring Boot ::        (v2.0.3.RELEASE)
    
    2019-02-05 10:54:00.000  INFO 15824 --- [ost-startStop-1] com.demo.App                             : Starting App on inbasdpc09349 with PID 15824 (started by AJ00496005 in D:\eclipse)
    2019-02-05 10:54:00.000  INFO 15824 --- [ost-startStop-1] com.demo.App                             : No active profile set, falling back to default profiles: default
    2019-02-05 10:54:00.063  INFO 15824 --- [ost-startStop-1] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@65cc3695: startup date [Tue Feb 05 10:54:00 IST 2019]; root of context hierarchy
    2019-02-05 10:54:01.157  INFO 15824 --- [ost-startStop-1] o.a.c.c.C.[.[localhost].[/TestSpring]    : Initializing Spring embedded WebApplicationContext
    2019-02-05 10:54:01.157  INFO 15824 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 1094 ms
    2019-02-05 10:54:01.510  INFO 15824 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
    2019-02-05 10:54:01.510  INFO 15824 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
    2019-02-05 10:54:01.510  INFO 15824 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'errorPageFilter' to: [/*]
    2019-02-05 10:54:01.510  INFO 15824 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
    2019-02-05 10:54:01.510  INFO 15824 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
    2019-02-05 10:54:01.510  INFO 15824 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
    2019-02-05 10:54:01.541  WARN 15824 --- [ost-startStop-1] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'loginController': Unsatisfied dependency expressed through field 'loginService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginServiceImpl' defined in file [C:\Users\aj00496005\Desktop\Eclipse Project\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\TestSpring\WEB-INF\classes\com\demo\serviceimpl\LoginServiceImpl.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.demo.serviceimpl.LoginServiceImpl] from ClassLoader [WebappClassLoader
      context: /TestSpring
      delegate: false
      repositories:
        /WEB-INF/classes/
    ----------> Parent Classloader:
    java.net.URLClassLoader@2626b418
    ]
    2019-02-05 10:54:01.557  INFO 15824 --- [ost-startStop-1] ConditionEvaluationReportLoggingListener : 
    
    Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
    2019-02-05 10:54:01.557 ERROR 15824 --- [ost-startStop-1] o.s.boot.SpringApplication               : Application run failed
    
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'loginController': Unsatisfied dependency expressed through field 'loginService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginServiceImpl' defined in file [C:\Users\aj00496005\Desktop\Eclipse Project\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\TestSpring\WEB-INF\classes\com\demo\serviceimpl\LoginServiceImpl.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.demo.serviceimpl.LoginServiceImpl] from ClassLoader [WebappClassLoader
      context: /TestSpring
      delegate: false
      repositories:
        /WEB-INF/classes/
    ----------> Parent Classloader:
    java.net.URLClassLoader@2626b418
    ]
    	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:587) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:91) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:373) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1350) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:580) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:503) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:760) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:869) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:550) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140) ~[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
    	at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) ~[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
    	at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:395) ~[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
    	at org.springframework.boot.SpringApplication.run(SpringApplication.java:327) ~[spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
    	at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:155) [spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
    	at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:135) [spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
    	at org.springframework.boot.web.servlet.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:87) [spring-boot-2.0.3.RELEASE.jar:2.0.3.RELEASE]
    	at org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:172) [spring-web-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5622) [catalina.jar:7.0.81]
    	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:7.0.81]
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1694) [catalina.jar:7.0.81]
    	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1684) [catalina.jar:7.0.81]
    	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_131]
    	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131]
    	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131]
    	at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
    Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginServiceImpl' defined in file [C:\Users\aj00496005\Desktop\Eclipse Project\.metadata\.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps\TestSpring\WEB-INF\classes\com\demo\serviceimpl\LoginServiceImpl.class]: Post-processing of merged bean definition failed; nested exception is java.lang.IllegalStateException: Failed to introspect Class [com.demo.serviceimpl.LoginServiceImpl] from ClassLoader [WebappClassLoader
      context: /TestSpring
      delegate: false
      repositories:
        /WEB-INF/classes/
    ----------> Parent Classloader:
    java.net.URLClassLoader@2626b418
    ]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:558) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:503) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:317) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:315) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:251) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1138) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1065) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:584) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	... 28 common frames omitted
    Caused by: java.lang.IllegalStateException: Failed to introspect Class [com.demo.serviceimpl.LoginServiceImpl] from ClassLoader [WebappClassLoader
      context: /TestSpring
      delegate: false
      repositories:
        /WEB-INF/classes/
    ----------> Parent Classloader:
    java.net.URLClassLoader@2626b418
    ]
    	at org.springframework.util.ReflectionUtils.getDeclaredFields(ReflectionUtils.java:758) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.util.ReflectionUtils.doWithLocalFields(ReflectionUtils.java:690) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.buildResourceMetadata(CommonAnnotationBeanPostProcessor.java:355) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.findResourceMetadata(CommonAnnotationBeanPostProcessor.java:339) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:298) ~[spring-context-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:1022) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:555) ~[spring-beans-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	... 37 common frames omitted
    Caused by: java.lang.NoClassDefFoundError: org/springframework/data/repository/CrudRepository
    	at java.lang.ClassLoader.defineClass1(Native Method) ~[na:1.8.0_131]
    	at java.lang.ClassLoader.defineClass(ClassLoader.java:763) ~[na:1.8.0_131]
    	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) ~[na:1.8.0_131]
    	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3205) ~[catalina.jar:7.0.81]
    	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1373) ~[catalina.jar:7.0.81]
    	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1861) ~[catalina.jar:7.0.81]
    	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) ~[catalina.jar:7.0.81]
    	at java.lang.Class.getDeclaredFields0(Native Method) ~[na:1.8.0_131]
    	at java.lang.Class.privateGetDeclaredFields(Class.java:2583) ~[na:1.8.0_131]
    	at java.lang.Class.getDeclaredFields(Class.java:1916) ~[na:1.8.0_131]
    	at org.springframework.util.ReflectionUtils.getDeclaredFields(ReflectionUtils.java:753) ~[spring-core-5.0.7.RELEASE.jar:5.0.7.RELEASE]
    	... 43 common frames omitted
    Caused by: java.lang.ClassNotFoundException: org.springframework.data.repository.CrudRepository
    	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892) ~[catalina.jar:7.0.81]
    	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735) ~[catalina.jar:7.0.81]
    	... 54 common frames omitted

pom.xml:

   <parent>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter-parent</artifactId>
      <version>2.0.3.RELEASE</version>
  </parent>

  <groupId>com.demo</groupId>
  <artifactId>TestSpring</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  <packaging>war</packaging>

  <name>TestSpring Maven Webapp</name>
  <!-- FIXME change it to the project's website -->
  <description>TestSpring Maven Webapp</description>
  
  <properties>
      <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    <maven.compiler.source>1.7</maven.compiler.source>
    <maven.compiler.target>1.7</maven.compiler.target>
    <java.version>1.8</java.version>
        <start-class>com.demo.App</start-class>
  </properties>
  

  <dependencies>
      <dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-web</artifactId>
		</dependency>
		
      <!-- marked the embedded servlet container as provided -->
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-tomcat</artifactId>
			<scope>provided</scope>
		</dependency>
		
		<dependency>
			<groupId>org.apache.httpcomponents</groupId>
			<artifactId>httpclient</artifactId>
			<scope>provided</scope>
		</dependency>
		
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-test</artifactId>
			<!-- <scope>test</scope> -->
		</dependency>

		<!-- https://mvnrepository.com/artifact/org.springframework.data/spring-data-jpa -->
		<dependency>
			<groupId>org.springframework.data</groupId>
			<artifactId>spring-data-jpa</artifactId>
			<scope>provided</scope>
			<!-- <version>2.3.5.RELEASE</version> -->
		</dependency>

		<!-- https://mvnrepository.com/artifact/mysql/mysql-connector-java -->
		<dependency>
			<groupId>mysql</groupId>
			<artifactId>mysql-connector-java</artifactId>
		</dependency>

		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-data-jpa</artifactId>
			<scope>provided</scope>
		</dependency>
	

		<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-devtools -->
		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-devtools</artifactId>
			<scope>provided</scope>
		</dependency>
		<!-- Hibernate -->
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-entitymanager</artifactId>
			<scope>provided</scope>
			<!--  <scope>provided</scope>-->
		</dependency>
		<dependency>
			<groupId>org.hibernate</groupId>
			<artifactId>hibernate-validator</artifactId>
			<version>5.0.1.Final</version>
		</dependency>
		<dependency>
    <groupId>org.hibernate</groupId>
    <artifactId>hibernate-core</artifactId>
    <scope>provided</scope>
	<!--  <scope>provided</scope>-->
</dependency>
		
		<!-- https://mvnrepository.com/artifact/org.springframework.data/spring-data-commons -->


		<dependency>
			<groupId>org.springframework.boot</groupId>
			<artifactId>spring-boot-starter-jdbc</artifactId>
			<scope>provided</scope>
			<exclusions>
				<exclusion>
					<groupId>com.zaxxer</groupId>
					<artifactId>HikariCP</artifactId>
				</exclusion>
			</exclusions>
		</dependency>

		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
		</dependency>

		<dependency>
			<groupId>org.apache.tomcat</groupId>
			<artifactId>tomcat-jdbc</artifactId>
		</dependency>

		<!-- https://mvnrepository.com/artifact/log4j/log4j 
		<dependency>
			<groupId>log4j</groupId>
			<artifactId>log4j</artifactId>
			<version>1.2.17</version>
		</dependency>-->
		
		<dependency>
			<groupId>commons-lang</groupId>
			<artifactId>commons-lang</artifactId>
			<version>2.6</version>
		</dependency>
    <dependency>
      <groupId>junit</groupId>
      <artifactId>junit</artifactId>
      <scope>test</scope>
    </dependency>
  </dependencies>

  <build>
    <finalName>TestSpring</finalName>
    <pluginManagement><!-- lock down plugins versions to avoid using Maven defaults (may be moved to parent pom) -->
      <plugins>
          <plugin>
				<groupId>org.springframework.boot</groupId>
				<artifactId>spring-boot-maven-plugin</artifactId>
			</plugin>
        <plugin>
          <artifactId>maven-clean-plugin</artifactId>
          <version>3.1.0</version>
        </plugin>
        <!-- see http://maven.apache.org/ref/current/maven-core/default-bindings.html#Plugin_bindings_for_war_packaging -->
        <plugin>
          <artifactId>maven-resources-plugin</artifactId>
          <version>3.0.2</version>
        </plugin>
        <plugin>
          <artifactId>maven-compiler-plugin</artifactId>
          <version>3.8.0</version>
        </plugin>
        <plugin>
          <artifactId>maven-surefire-plugin</artifactId>
          <version>2.22.1</version>
        </plugin>
        <plugin>
          <artifactId>maven-war-plugin</artifactId>
          <version>3.2.2</version>
        </plugin>
        <plugin>
          <artifactId>maven-install-plugin</artifactId>
          <version>2.5.2</version>
        </plugin>
        <plugin>
          <artifactId>maven-deploy-plugin</artifactId>
          <version>2.8.2</version>
        </plugin>
      </plugins>
    </pluginManagement>
  </build>
</project>

Cannot GET /greeting when running the complete folder

I am getting the above error when I try this project out using the included '/complete' directory.

The Console shows Failed to load resource: the server responded with a status of 404 (Not Found)

I'm new to the Java ecosystem, so pardon my ignorance. I saw a similar issue and did what I assumed would clear my maven cache? That didn't seem to work.

These are my logs:

130 gs-rest-service/complete git:(master) ▶ mvn dependency:purge-local-repository -DactTransitively=false -DreResolve=false --fail-at-end

[INFO] Scanning for projects...
[INFO] 
[INFO] ----------------< org.springframework:gs-rest-service >-----------------
[INFO] Building gs-rest-service 0.1.0
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- maven-dependency-plugin:3.0.2:purge-local-repository (default-cli) @ gs-rest-service ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.969 s
[INFO] Finished at: 2018-10-22T12:58:51-04:00
[INFO] ------------------------------------------------------------------------
Ξ gs-rest-service/complete git:(master) ▶ ./mvnw spring-boot:run --debug                                                               
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00)
Maven home: /Users/rpatel/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2/apache-maven-3.3.9
Java version: 1.8.0_181, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.13.6", arch: "x86_64", family: "mac"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /Users/rpatel/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2/apache-maven-3.3.9/conf/settings.xml
[DEBUG] Reading user settings from /Users/rpatel/.m2/settings.xml
[DEBUG] Reading global toolchains from /Users/rpatel/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2/apache-maven-3.3.9/conf/toolchains.xml
[DEBUG] Reading user toolchains from /Users/rpatel/.m2/toolchains.xml
[DEBUG] Using local repository at /Users/rpatel/.m2/repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for /Users/rpatel/.m2/repository
[INFO] Scanning for projects...
[DEBUG] Extension realms for project org.springframework:gs-rest-service:jar:0.1.0: (none)
[DEBUG] Looking up lifecyle mappings for packaging jar from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project org.springframework.boot:spring-boot-starter-parent:pom:2.0.5.RELEASE: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Extension realms for project org.springframework.boot:spring-boot-dependencies:pom:2.0.5.RELEASE: (none)
[DEBUG] Looking up lifecyle mappings for packaging pom from ClassRealm[plexus.core, parent: null]
[DEBUG] Resolving plugin prefix spring-boot from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix spring-boot to org.springframework.boot:spring-boot-maven-plugin from POM org.springframework:gs-rest-service:jar:0.1.0
[DEBUG] === REACTOR BUILD PLAN ================================================
[DEBUG] Project: org.springframework:gs-rest-service:jar:0.1.0
[DEBUG] Tasks:   [spring-boot:run]
[DEBUG] Style:   Regular
[DEBUG] =======================================================================
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building gs-rest-service 0.1.0
[INFO] ------------------------------------------------------------------------
[DEBUG] Resolving plugin prefix spring-boot from [org.apache.maven.plugins, org.codehaus.mojo]
[DEBUG] Resolved plugin prefix spring-boot to org.springframework.boot:spring-boot-maven-plugin from POM org.springframework:gs-rest-service:jar:0.1.0
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy]
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean]
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy]
[DEBUG] === PROJECT BUILD PLAN ================================================
[DEBUG] Project:       org.springframework:gs-rest-service:0.1.0
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [test]
[DEBUG] Repositories (dependencies): [spring-releases (https://repo.spring.io/libs-release, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] Repositories (plugins)     : [spring-releases (https://repo.spring.io/libs-release, default, releases+snapshots), central (https://repo.maven.apache.org/maven2, default, releases)]
[DEBUG] --- init fork of org.springframework:gs-rest-service:0.1.0 for org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE:run (default-cli) ---
[DEBUG] Dependencies (collect): []
[DEBUG] Dependencies (resolve): [compile, test]
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources (default-resources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <addDefaultExcludes default-value="true"/>
  <buildFilters default-value="${project.build.filters}"/>
  <delimiters>
    <delimiter>@</delimiter>
  </delimiters>
  <encoding default-value="${project.build.sourceEncoding}"/>
  <escapeWindowsPaths default-value="true"/>
  <fileNameFiltering default-value="false"/>
  <includeEmptyDirs default-value="false"/>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <overwrite default-value="false"/>
  <project default-value="${project}"/>
  <resources default-value="${project.resources}"/>
  <session default-value="${session}"/>
  <skip default-value="false">${maven.resources.skip}</skip>
  <supportMultiLineFiltering default-value="false"/>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true">false</useDefaultDelimiters>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <compilePath default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.compileSourceRoots}"/>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <failOnWarning default-value="false">${maven.compiler.failOnWarning}</failOnWarning>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedSourcesDirectory default-value="${project.build.directory}/generated-sources/annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <mojoExecution default-value="${mojoExecution}"/>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.outputDirectory}"/>
  <parameters default-value="false">true</parameters>
  <project default-value="${project}"/>
  <projectArtifact default-value="${project.artifact}"/>
  <release>${maven.compiler.release}</release>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skipMain>${maven.main.skip}</skipMain>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.5">${maven.compiler.source}</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.5">${maven.compiler.target}</target>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources (default-testResources)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <addDefaultExcludes default-value="true"/>
  <buildFilters default-value="${project.build.filters}"/>
  <delimiters>
    <delimiter>@</delimiter>
  </delimiters>
  <encoding default-value="${project.build.sourceEncoding}"/>
  <escapeWindowsPaths default-value="true"/>
  <fileNameFiltering default-value="false"/>
  <includeEmptyDirs default-value="false"/>
  <outputDirectory default-value="${project.build.testOutputDirectory}"/>
  <overwrite default-value="false"/>
  <project default-value="${project}"/>
  <resources default-value="${project.testResources}"/>
  <session default-value="${session}"/>
  <skip default-value="false">${maven.test.skip}</skip>
  <supportMultiLineFiltering default-value="false"/>
  <useBuildFilters default-value="true"/>
  <useDefaultDelimiters default-value="true">false</useDefaultDelimiters>
</configuration>
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile (default-testCompile)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <basedir default-value="${basedir}"/>
  <buildDirectory default-value="${project.build.directory}"/>
  <compilePath default-value="${project.compileClasspathElements}"/>
  <compileSourceRoots default-value="${project.testCompileSourceRoots}"/>
  <compilerId default-value="javac">${maven.compiler.compilerId}</compilerId>
  <compilerReuseStrategy default-value="${reuseCreated}">${maven.compiler.compilerReuseStrategy}</compilerReuseStrategy>
  <compilerVersion>${maven.compiler.compilerVersion}</compilerVersion>
  <debug default-value="true">${maven.compiler.debug}</debug>
  <debuglevel>${maven.compiler.debuglevel}</debuglevel>
  <encoding default-value="${project.build.sourceEncoding}">${encoding}</encoding>
  <executable>${maven.compiler.executable}</executable>
  <failOnError default-value="true">${maven.compiler.failOnError}</failOnError>
  <failOnWarning default-value="false">${maven.compiler.failOnWarning}</failOnWarning>
  <forceJavacCompilerUse default-value="false">${maven.compiler.forceJavacCompilerUse}</forceJavacCompilerUse>
  <fork default-value="false">${maven.compiler.fork}</fork>
  <generatedTestSourcesDirectory default-value="${project.build.directory}/generated-test-sources/test-annotations"/>
  <maxmem>${maven.compiler.maxmem}</maxmem>
  <meminitial>${maven.compiler.meminitial}</meminitial>
  <mojoExecution default-value="${mojoExecution}"/>
  <optimize default-value="false">${maven.compiler.optimize}</optimize>
  <outputDirectory default-value="${project.build.testOutputDirectory}"/>
  <parameters default-value="false">true</parameters>
  <project default-value="${project}"/>
  <release>${maven.compiler.release}</release>
  <session default-value="${session}"/>
  <showDeprecation default-value="false">${maven.compiler.showDeprecation}</showDeprecation>
  <showWarnings default-value="false">${maven.compiler.showWarnings}</showWarnings>
  <skip>${maven.test.skip}</skip>
  <skipMultiThreadWarning default-value="false">${maven.compiler.skipMultiThreadWarning}</skipMultiThreadWarning>
  <source default-value="1.5">${maven.compiler.source}</source>
  <staleMillis default-value="0">${lastModGranularityMs}</staleMillis>
  <target default-value="1.5">${maven.compiler.target}</target>
  <testPath default-value="${project.testClasspathElements}"/>
  <testRelease>${maven.compiler.testRelease}</testRelease>
  <testSource>${maven.compiler.testSource}</testSource>
  <testTarget>${maven.compiler.testTarget}</testTarget>
  <useIncrementalCompilation default-value="true">${maven.compiler.useIncrementalCompilation}</useIncrementalCompilation>
  <verbose default-value="false">${maven.compiler.verbose}</verbose>
</configuration>
[DEBUG] --- exit fork of org.springframework:gs-rest-service:0.1.0 for org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE:run (default-cli) ---
[DEBUG] -----------------------------------------------------------------------
[DEBUG] Goal:          org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE:run (default-cli)
[DEBUG] Style:         Regular
[DEBUG] Configuration: <?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <addResources default-value="false">${spring-boot.run.addResources}</addResources>
  <agent>${spring-boot.run.agent}</agent>
  <arguments>${spring-boot.run.arguments}</arguments>
  <classesDirectory default-value="${project.build.outputDirectory}"/>
  <excludeArtifactIds default-value="">${spring-boot.excludeArtifactIds}</excludeArtifactIds>
  <excludeGroupIds default-value="">${spring-boot.excludeGroupIds}</excludeGroupIds>
  <excludes>${spring-boot.excludes}</excludes>
  <folders>${spring-boot.run.folders}</folders>
  <fork>${spring-boot.run.fork}</fork>
  <includes>${spring-boot.includes}</includes>
  <jvmArguments>${spring-boot.run.jvmArguments}</jvmArguments>
  <mainClass>${start-class}</mainClass>
  <noverify>${spring-boot.run.noverify}</noverify>
  <profiles>${spring-boot.run.profiles}</profiles>
  <project default-value="${project}"/>
  <skip default-value="false">${spring-boot.run.skip}</skip>
  <useTestClasspath default-value="false">${spring-boot.run.useTestClasspath}</useTestClasspath>
  <workingDirectory>${spring-boot.run.workingDirectory}</workingDirectory>
</configuration>
[DEBUG] =======================================================================
[INFO] 
[INFO] >>> spring-boot-maven-plugin:2.0.5.RELEASE:run (default-cli) > test-compile @ gs-rest-service >>>
[DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.spring.io/libs-release
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.spring.io/libs-release
Downloading: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/spring-boot-starter-web-2.0.5.RELEASE.pom
Downloaded: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/spring-boot-starter-web-2.0.5.RELEASE.pom (4 KB at 3.8 KB/sec)
[DEBUG] Writing tracking file /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/_remote.repositories
[DEBUG] Writing tracking file /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/spring-boot-starter-web-2.0.5.RELEASE.pom.lastUpdated
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=2, ConflictMarker.markTime=1, ConflictMarker.nodeCount=95, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=1, ConflictIdSorter.conflictIdCount=56, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=11, ConflictResolver.conflictItemCount=93, DefaultDependencyCollector.collectTime=1954, DefaultDependencyCollector.transformTime=19}
[DEBUG] org.springframework:gs-rest-service:jar:0.1.0
[DEBUG]    org.springframework.boot:spring-boot-starter-web:jar:2.0.5.RELEASE:compile
[DEBUG]       org.springframework.boot:spring-boot-starter:jar:2.0.5.RELEASE:compile
[DEBUG]          org.springframework.boot:spring-boot:jar:2.0.5.RELEASE:compile
[DEBUG]          org.springframework.boot:spring-boot-autoconfigure:jar:2.0.5.RELEASE:compile
[DEBUG]          org.springframework.boot:spring-boot-starter-logging:jar:2.0.5.RELEASE:compile
[DEBUG]             ch.qos.logback:logback-classic:jar:1.2.3:compile
[DEBUG]                ch.qos.logback:logback-core:jar:1.2.3:compile
[DEBUG]             org.apache.logging.log4j:log4j-to-slf4j:jar:2.10.0:compile
[DEBUG]                org.apache.logging.log4j:log4j-api:jar:2.10.0:compile
[DEBUG]             org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[DEBUG]          javax.annotation:javax.annotation-api:jar:1.3.2:compile
[DEBUG]          org.yaml:snakeyaml:jar:1.19:runtime
[DEBUG]       org.springframework.boot:spring-boot-starter-json:jar:2.0.5.RELEASE:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-databind:jar:2.9.6:compile
[DEBUG]             com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[DEBUG]             com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
[DEBUG]          com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.6:compile
[DEBUG]          com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.6:compile
[DEBUG]          com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.6:compile
[DEBUG]       org.springframework.boot:spring-boot-starter-tomcat:jar:2.0.5.RELEASE:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.34:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.34:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.34:compile
[DEBUG]       org.hibernate.validator:hibernate-validator:jar:6.0.12.Final:compile
[DEBUG]          javax.validation:validation-api:jar:2.0.1.Final:compile
[DEBUG]          org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
[DEBUG]          com.fasterxml:classmate:jar:1.3.4:compile
[DEBUG]       org.springframework:spring-web:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-beans:jar:5.0.9.RELEASE:compile
[DEBUG]       org.springframework:spring-webmvc:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-aop:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-context:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-expression:jar:5.0.9.RELEASE:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-test:jar:2.0.5.RELEASE:test
[DEBUG]       org.springframework.boot:spring-boot-test:jar:2.0.5.RELEASE:test
[DEBUG]       org.springframework.boot:spring-boot-test-autoconfigure:jar:2.0.5.RELEASE:test
[DEBUG]       junit:junit:jar:4.12:test
[DEBUG]       org.assertj:assertj-core:jar:3.9.1:test
[DEBUG]       org.mockito:mockito-core:jar:2.15.0:test
[DEBUG]          net.bytebuddy:byte-buddy:jar:1.7.11:test (version managed from 1.7.9 by org.springframework.boot:spring-boot-dependencies:2.0.5.RELEASE)
[DEBUG]          net.bytebuddy:byte-buddy-agent:jar:1.7.11:test (version managed from 1.7.9 by org.springframework.boot:spring-boot-dependencies:2.0.5.RELEASE)
[DEBUG]          org.objenesis:objenesis:jar:2.6:test
[DEBUG]       org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]       org.hamcrest:hamcrest-library:jar:1.3:test
[DEBUG]       org.skyscreamer:jsonassert:jar:1.5.0:test
[DEBUG]          com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[DEBUG]       org.springframework:spring-core:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-jcl:jar:5.0.9.RELEASE:compile
[DEBUG]       org.springframework:spring-test:jar:5.0.9.RELEASE:test
[DEBUG]       org.xmlunit:xmlunit-core:jar:2.5.1:test
[DEBUG]    com.jayway.jsonpath:json-path:jar:2.4.0:test
[DEBUG]       net.minidev:json-smart:jar:2.3:test
[DEBUG]          net.minidev:accessors-smart:jar:1.2:test
[DEBUG]             org.ow2.asm:asm:jar:5.0.4:test
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.25:compile
[DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo.spring.io/libs-release
[DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo.spring.io/libs-release
Downloading: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/spring-boot-starter-web-2.0.5.RELEASE.jar
Downloaded: https://repo.spring.io/libs-release/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/spring-boot-starter-web-2.0.5.RELEASE.jar (587 B at 6.4 KB/sec)
[DEBUG] Writing tracking file /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/_remote.repositories
[DEBUG] Writing tracking file /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/spring-boot-starter-web-2.0.5.RELEASE.jar.lastUpdated
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ gs-rest-service ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=0, ConflictMarker.markTime=0, ConflictMarker.nodeCount=68, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=28, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2, ConflictResolver.conflictItemCount=67, DefaultDependencyCollector.collectTime=355, DefaultDependencyCollector.transformTime=2}
[DEBUG] org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.6:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.24:compile
[DEBUG]    org.apache.maven.shared:maven-filtering:jar:3.1.1:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:3.0.0:compile
[DEBUG]          com.google.code.findbugs:jsr305:jar:2.0.1:compile
[DEBUG]       org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[DEBUG]    commons-io:commons-io:jar:2.5:compile
[DEBUG]    org.codehaus.plexus:plexus-interpolation:jar:1.24:compile
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2
[DEBUG]   Included: org.apache.maven.plugins:maven-resources-plugin:jar:3.0.2
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.6
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.24
[DEBUG]   Included: org.apache.maven.shared:maven-filtering:jar:3.1.1
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.0.0
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:2.0.1
[DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.24
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2, parent: java.net.URLClassLoader@1f32e575]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:3.0.2:resources' with basic configurator -->
[DEBUG]   (f) addDefaultExcludes = true
[DEBUG]   (f) buildFilters = []
[DEBUG]   (s) delimiters = [@]
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) escapeWindowsPaths = true
[DEBUG]   (f) fileNameFiltering = false
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /Users/rpatel/Projects/gs-rest-service/complete/target/classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: org.springframework:gs-rest-service:0.1.0 @ /Users/rpatel/Projects/gs-rest-service/complete/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: true, FileSet {directory: /Users/rpatel/Projects/gs-rest-service/complete/src/main/resources, PatternSet [includes: {**/application*.yml, **/application*.yaml, **/application*.properties}, excludes: {}]}}, Resource {targetPath: null, filtering: false, FileSet {directory: /Users/rpatel/Projects/gs-rest-service/complete/src/main/resources, PatternSet [includes: {}, excludes: {**/application*.yml, **/application*.yaml, **/application*.properties}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@231baf51
[DEBUG]   (f) skip = false
[DEBUG]   (f) supportMultiLineFiltering = false
[DEBUG]   (f) useBuildFilters = true
[DEBUG]   (s) useDefaultDelimiters = false
[DEBUG] -- end configuration --
[DEBUG] properties used {project.baseUri=file:/Users/rpatel/Projects/gs-rest-service/complete/, statsd-client.version=3.1.0, jaxen.version=1.1.6, xml-apis.version=1.4.01, spring.version=5.0.9.RELEASE, env.LC_CTYPE=en_US.UTF-8, env.TERM=xterm-256color, byte-buddy.version=1.7.11, janino.version=3.0.9, htmlunit.version=2.29, nio-multipart-parser.version=1.1.0, env.OLDPWD=/Users/rpatel/Projects/gs-rest-service/complete, env.rvm_bin_path=/Users/rpatel/.rvm/bin, maven-source-plugin.version=3.0.1, user.dir=/Users/rpatel/Projects/gs-rest-service/complete, java.vm.version=25.181-b13, env.NVM_PATH=/Users/rpatel/.nvm/versions/node/v9.2.0/lib/node, env.Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vG1MQ8vvYN/Render, selenium.version=3.9.1, env.GEM_HOME=/Users/rpatel/.rvm/gems/ruby-2.3.1, versions-maven-plugin.version=2.3, jackson.version=2.9.6, env.rvm_pretty_print_flag=, thymeleaf-extras-java8time.version=3.0.1.RELEASE, sun.os.patch.level=unknown, snakeyaml.version=1.19, javax-validation.version=2.0.1.Final, jetty.version=9.4.12.v20180830, java.vm.specification.name=Java Virtual Machine Specification, httpclient.version=4.5.6, solr.version=6.6.5, tomcat.version=8.5.34, spring-kafka.version=2.1.10.RELEASE, jboss-transaction-spi.version=7.6.0.Final, influxdb-java.version=2.9, netty.version=4.1.29.Final, jdom2.version=2.0.6, os.name=Mac OS X, rxjava2.version=2.1.17, maven.version=3.3.9, maven-install-plugin.version=2.5.2, env.XPC_FLAGS=0x0, log4j2.version=2.10.0, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, os.arch=x86_64, user.name=rpatel, servlet-api.version=3.1.0, activemq.version=5.15.6, aspectj.version=1.8.13, sun.java.command=org.apache.maven.wrapper.MavenWrapperMain spring-boot:run --debug, env.USER=rpatel, ehcache.version=2.10.5, env.LOGNAME=rpatel, project.reporting.outputEncoding=UTF-8, env.NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist, undertow.version=1.4.25.Final, querydsl.version=4.1.4, env.rvm_gemstone_url=, mssql-jdbc.version=6.2.2.jre8, user.country=US, slf4j.version=1.7.25, java.endorsed.dirs=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/endorsed, maven-dependency-plugin.version=3.0.2, kotlin.version=1.2.51, ehcache3.version=3.5.2, junit.version=4.12, java.vm.specification.version=1.8, env.IRBRC=/Users/rpatel/.rvm/rubies/ruby-2.3.1/.irbrc, env.NVM_CD_FLAGS=-q, ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, env._system_version=10.13, env.SHLVL=1, kafka.version=1.0.2, spring-data-releasetrain.version=Kay-SR10, java.vendor=Oracle Corporation, spring-session-bom.version=Apple-SR5, hamcrest.version=1.3, spring-restdocs.version=2.0.2.RELEASE, file.separator=/, flyway.version=5.0.7, antlr2.version=2.7.7, unboundid-ldapsdk.version=4.0.7, exec-maven-plugin.version=1.5.0, atomikos.version=4.0.6, jolokia.version=1.5.0, sun.java.launcher=SUN_STANDARD, env.PAGER=less, mockito.version=2.15.0, spring-ldap.version=2.3.2.RELEASE, maven-antrun-plugin.version=1.8, commons-pool2.version=2.5.0, java.library.path=/Users/rpatel/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:., env._system_type=Darwin, glassfish-el.version=3.0.0, classworlds.conf=/Users/rpatel/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2/apache-maven-3.3.9/bin/m2.conf, jmustache.version=1.14, quartz.version=2.3.0, project.build.sourceEncoding=UTF-8, sun.arch.data.model=64, micrometer.version=1.0.6, junit-jupiter.version=5.1.1, env.rvm_alias_expanded=, env.PATH=/Users/rpatel/.nvm/versions/node/v9.2.0/bin:/Users/rpatel/.rvm/gems/ruby-2.3.1/bin:/Users/rpatel/.rvm/gems/ruby-2.3.1@global/bin:/Users/rpatel/.rvm/rubies/ruby-2.3.1/bin:/Users/rpatel/.avn/bin:/Users/rpatel/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/opt/X11/bin:/opt/ImageMagick/bin:/Users/rpatel/.maven/apache-maven-3.5.4/bin:/Users/rpatel/.rvm/bin, path.separator=:, git-commit-id-plugin.version=2.2.5, env.TERM_PROGRAM=Apple_Terminal, sun.io.unicode.encoding=UnicodeBig, maven-invoker-plugin.version=3.1.0, httpcore.version=4.4.10, env.NVM_DIR=/Users/rpatel/.nvm, xml-maven-plugin.version=1.0.2, user.language=en, env.rvm_script_name=, env.NVM_IOJS_ORG_MIRROR=https://iojs.org/dist, jaybird.version=3.0.5, env.rvm_path=/Users/rpatel/.rvm, joda-time.version=2.9.9, appengine-sdk.version=1.9.64, env.ZSH=/Users/rpatel/.oh-my-zsh, gopherProxySet=false, maven.compiler.source=1.8, java.class.version=52.0, lettuce.version=5.0.5.RELEASE, couchbase-client.version=2.5.9, jboss-logging.version=3.3.2.Final, maven-javadoc-plugin.version=3.0.1, mariadb.version=2.2.6, jooq.version=3.10.8, env.rvm_silent_flag=, file.encoding.pkg=sun.io, sun.cpu.endian=little, maven.compiler.target=1.8, cassandra-driver.version=3.4.0, maven-site-plugin.version=3.6, env.SHELL=/bin/zsh, env.rvm_version=1.29.4 (latest), env.JAVA_MAIN_CLASS_87239=org.apache.maven.wrapper.MavenWrapperMain, socksNonProxyHosts=local|*.local|169.254/16|*.169.254/16, env.rvm_bin_flag=, groovy.version=2.4.15, java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre, jetty-el.version=8.5.33, maven-eclipse-plugin.version=2.10, spring-batch.version=4.0.1.RELEASE, maven.home=/Users/rpatel/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2/apache-maven-3.3.9, rxjava-adapter.version=1.2.1, env.__avn_active_file=, commons-lang3.version=3.7, maven-shade-plugin.version=2.4.3, http.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, maven-enforcer-plugin.version=3.0.0-M2, commons-pool.version=1.6, maven-war-plugin.version=3.1.0, httpasyncclient.version=4.1.4, rxjava.version=1.3.8, couchbase-cache-client.version=2.1.0, commons-dbcp2.version=2.2.0, env.mate=/usr/local/bin/mate -w, maven-failsafe-plugin.version=2.21.0, xmlunit2.version=2.5.1, dom4j.version=1.6.1, env.SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.zlczlPfRs7/Listeners, liquibase.version=3.5.5, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, wsdl4j.version=1.6.3, env.DISPLAY=/private/tmp/com.apple.launchd.RKDwoRuxC6/org.macosforge.xquartz:0, env.RUBY_VERSION=ruby-2.3.1, env.MY_RUBY_HOME=/Users/rpatel/.rvm/rubies/ruby-2.3.1, json-path.version=2.4.0, hibernate-jpa-2.1-api.version=1.0.2.Final, env.XPC_SERVICE_NAME=0, jsonassert.version=1.5.0, hazelcast.version=3.9.4, javax-transaction.version=1.2, env.rvm_only_path_flag=, h2.version=1.4.197, env._system_name=OSX, env.rvm_nightly_flag=, spring-retry.version=1.2.2.RELEASE, env.rvm_quiet_flag=, maven-clean-plugin.version=3.0.0, spring-plugin.version=1.2.0.RELEASE, env.rvm_ruby_mode=, java.vm.specification.vendor=Oracle Corporation, dropwizard-metrics.version=3.2.6, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, env._system_arch=x86_64, narayana.version=5.8.2.Final, java.io.tmpdir=/var/folders/2d/cpwkgh2s5nd90fky6ryngxhr9nkvk9/T/, java.vendor.url=http://java.oracle.com/, lombok.version=1.16.22, javax-jsonb.version=1.0, sun.boot.library.path=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib, env.GEM_PATH=/Users/rpatel/.rvm/gems/ruby-2.3.1:/Users/rpatel/.rvm/gems/ruby-2.3.1@global, env.MANPATH=/Users/rpatel/.nvm/versions/node/v9.2.0/share/man:/usr/local/share/man:/Library/Frameworks/Python.framework/Versions/3.7/share/man:/usr/share/man:/opt/X11/share/man:/opt/ImageMagick/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man, derby.version=10.14.2.0, gson.version=2.8.5, javax-jms.version=2.0.1, thymeleaf-extras-springsecurity4.version=3.0.2.RELEASE, spring-security.version=5.0.8.RELEASE, java.runtime.name=Java(TM) SE Runtime Environment, maven-resources-plugin.version=3.0.2, env.rvm_niceness=, assertj.version=3.9.1, sun.cpu.isalist=, spring-amqp.version=2.0.6.RELEASE, env.rvm_ruby_file=, hibernate-validator.version=6.0.12.Final, maven.multiModuleProjectDirectory=/Users/rpatel/Projects/gs-rest-service/complete, commons-codec.version=1.11, user.home=/Users/rpatel, env.JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home, johnzon-jsonb.version=1.1.9, env.LSCOLORS=Gxfxcxdxbxegedabagacad, env.rvm_ruby_bits=, mongodb.version=3.6.4, java.specification.name=Java Platform API Specification, logback.version=1.2.3, env.rvm_ruby_make_install=, java.specification.vendor=Oracle Corporation, maven-help-plugin.version=2.2, rabbit-amqp-client.version=5.4.1, java.version=1.8.0_181, thymeleaf.version=3.0.9.RELEASE, embedded-mongo.version=2.0.3, postgresql.version=42.2.5, hsqldb.version=2.4.1, env.LESS=-R, hazelcast-hibernate5.version=1.2.3, javax-mail.version=1.6.2, webjars-hal-browser.version=3325375, flatten-maven-plugin.version=1.0.1, env.rvm_docs_type=, env.MAVEN_PROJECTBASEDIR=/Users/rpatel/Projects/gs-rest-service/complete, maven.build.timestamp=2018-10-22T16:59:42Z, jersey.version=2.26, env.rvm_hook=, jna.version=4.5.2, env.PWD=/Users/rpatel/Projects/gs-rest-service/complete, env.TMPDIR=/var/folders/2d/cpwkgh2s5nd90fky6ryngxhr9nkvk9/T/, line.separator=
, java.specification.version=1.8, java.vm.info=mixed mode, env.TERM_PROGRAM_VERSION=404, spring-cloud-connectors.version=2.0.3.RELEASE, javax-annotation.version=1.3.2, sun.boot.class.path=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/classes, build-helper-maven-plugin.version=3.0.0, javax-json.version=1.1.2, bitronix.version=2.1.4, maven-deploy-plugin.version=2.8.2, jetty-jsp.version=2.2.0.v201112011158, env.rvm_prefix=/Users/rpatel, env.HOME=/Users/rpatel, mongo-driver-reactivestreams.version=1.7.1, infinispan.version=9.1.7.Final, org.slf4j.simpleLogger.defaultLogLevel=debug, env.rvm_sdk=, nekohtml.version=1.9.22, env.rvm_ruby_make=, java.awt.printerjob=sun.lwawt.macosx.CPrinterJob, jstl.version=1.2, env.rvm_gemstone_package_file=, sun.jnu.encoding=UTF-8, hibernate.version=5.2.17.Final, javax-money.version=1.0.3, java.runtime.version=1.8.0_181-b13, env.rvm_proxy=, sendgrid.version=4.1.2, env.rvm_use_flag=, env.NVM_BIN=/Users/rpatel/.nvm/versions/node/v9.2.0/bin, reactive-streams.version=1.0.2, maven.build.version=Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00), user.timezone=America/New_York, resource.delimiter=@, reactor-bom.version=Bismuth-SR11, mysql.version=5.1.47, hikaricp.version=2.7.9, spring-hateoas.version=0.25.0.RELEASE, java.ext.dirs=/Users/rpatel/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java, env.MAVEN_CMD_LINE_ARGS= spring-boot:run --debug, caffeine.version=2.6.2, javax-jaxb.version=2.3.0, spring-integration.version=5.0.8.RELEASE, jest.version=5.3.4, java.class.path=/Users/rpatel/Projects/gs-rest-service/complete/.mvn/wrapper/maven-wrapper.jar, maven-jar-plugin.version=3.0.2, junit-platform.version=1.1.0, rest-assured.version=3.0.7, neo4j-ogm.version=3.1.2, os.version=10.13.6, thymeleaf-layout-dialect.version=2.3.0, sqlite-jdbc.version=3.21.0.1, classmate.version=1.3.4, javax-cache.version=1.1.0, env.TERM_SESSION_ID=15C154D9-E3DD-4BAF-863C-EEC7331DD9C3, env.LANG=en_US.UTF-8, jedis.version=2.9.0, java.awt.graphicsenv=sun.awt.CGraphicsEnvironment, maven-compiler-plugin.version=3.7.0, java.vm.vendor=Oracle Corporation, maven-assembly-plugin.version=3.1.0, freemarker.version=2.3.28, elasticsearch.version=5.6.11, thymeleaf-extras-data-attribute.version=2.0.1, selenium-htmlunit.version=2.29.3, webjars-locator-core.version=0.35, sun-mail.version=1.6.2, artemis.version=2.4.0, maven-surefire-plugin.version=2.21.0, jtds.version=1.3.1, env.NVM_RC_VERSION=8.10.0, simple-json.version=1.1.1, spring-ws.version=3.0.3.RELEASE, file.encoding=UTF-8, env.__CF_USER_TEXT_ENCODING=0x13596E49:0x0:0x0, awt.toolkit=sun.lwawt.macosx.LWCToolkit}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /Users/rpatel/Projects/gs-rest-service/complete/src/main/resources
excludes []
includes [**/application*.yml, **/application*.yaml, **/application*.properties]
[INFO] skip non existing resourceDirectory /Users/rpatel/Projects/gs-rest-service/complete/src/main/resources
[DEBUG] resource with targetPath null
directory /Users/rpatel/Projects/gs-rest-service/complete/src/main/resources
excludes [**/application*.yml, **/application*.yaml, **/application*.properties]
includes []
[INFO] skip non existing resourceDirectory /Users/rpatel/Projects/gs-rest-service/complete/src/main/resources
[DEBUG] no use filter components
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ gs-rest-service ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=0, ConflictMarker.nodeCount=118, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=45, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3, ConflictResolver.conflictItemCount=72, DefaultDependencyCollector.collectTime=232, DefaultDependencyCollector.transformTime=4}
[DEBUG] org.apache.maven.plugins:maven-compiler-plugin:jar:3.7.0:
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model:jar:3.0:compile
[DEBUG]       org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:2.0.4:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]       org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]       org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.6:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven.shared:maven-shared-utils:jar:3.1.0:compile
[DEBUG]       commons-io:commons-io:jar:2.5:compile
[DEBUG]    org.apache.maven.shared:maven-shared-incremental:jar:1.1:compile
[DEBUG]    org.codehaus.plexus:plexus-java:jar:0.9.2:compile
[DEBUG]       org.ow2.asm:asm:jar:6.0_BETA:compile
[DEBUG]       com.thoughtworks.qdox:qdox:jar:2.0-M7:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-api:jar:2.8.2:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-manager:jar:2.8.2:compile
[DEBUG]    org.codehaus.plexus:plexus-compiler-javac:jar:2.8.2:runtime
[DEBUG] Created new class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.7.0
[DEBUG] Importing foreign packages into class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.7.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.apache.maven.plugins:maven-compiler-plugin:3.7.0
[DEBUG]   Included: org.apache.maven.plugins:maven-compiler-plugin:jar:3.7.0
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:2.0.4
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.6
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:3.1.0
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.apache.maven.shared:maven-shared-incremental:jar:1.1
[DEBUG]   Included: org.codehaus.plexus:plexus-java:jar:0.9.2
[DEBUG]   Included: org.ow2.asm:asm:jar:6.0_BETA
[DEBUG]   Included: com.thoughtworks.qdox:qdox:jar:2.0-M7
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-api:jar:2.8.2
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-manager:jar:2.8.2
[DEBUG]   Included: org.codehaus.plexus:plexus-compiler-javac:jar:2.8.2
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.7.0, parent: java.net.URLClassLoader@1f32e575]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile' with basic configurator -->
[DEBUG]   (f) basedir = /Users/rpatel/Projects/gs-rest-service/complete
[DEBUG]   (f) buildDirectory = /Users/rpatel/Projects/gs-rest-service/complete/target
[DEBUG]   (f) compilePath = [/Users/rpatel/Projects/gs-rest-service/complete/target/classes, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/spring-boot-starter-web-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter/2.0.5.RELEASE/spring-boot-starter-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot/2.0.5.RELEASE/spring-boot-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.0.5.RELEASE/spring-boot-autoconfigure-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.0.5.RELEASE/spring-boot-starter-logging-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar, /Users/rpatel/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar, /Users/rpatel/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.10.0/log4j-to-slf4j-2.10.0.jar, /Users/rpatel/.m2/repository/org/apache/logging/log4j/log4j-api/2.10.0/log4j-api-2.10.0.jar, /Users/rpatel/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar, /Users/rpatel/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.0.5.RELEASE/spring-boot-starter-json-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.6/jackson-databind-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.6/jackson-core-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.9.6/jackson-datatype-jdk8-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.6/jackson-datatype-jsr310-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.9.6/jackson-module-parameter-names-2.9.6.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.0.5.RELEASE/spring-boot-starter-tomcat-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.34/tomcat-embed-core-8.5.34.jar, /Users/rpatel/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.34/tomcat-embed-el-8.5.34.jar, /Users/rpatel/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.34/tomcat-embed-websocket-8.5.34.jar, /Users/rpatel/.m2/repository/org/hibernate/validator/hibernate-validator/6.0.12.Final/hibernate-validator-6.0.12.Final.jar, /Users/rpatel/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar, /Users/rpatel/.m2/repository/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar, /Users/rpatel/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar, /Users/rpatel/.m2/repository/org/springframework/spring-web/5.0.9.RELEASE/spring-web-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-beans/5.0.9.RELEASE/spring-beans-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-webmvc/5.0.9.RELEASE/spring-webmvc-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-aop/5.0.9.RELEASE/spring-aop-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-context/5.0.9.RELEASE/spring-context-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-expression/5.0.9.RELEASE/spring-expression-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-core/5.0.9.RELEASE/spring-core-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-jcl/5.0.9.RELEASE/spring-jcl-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar]
[DEBUG]   (f) compileSourceRoots = [/Users/rpatel/Projects/gs-rest-service/complete/src/main/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) failOnWarning = false
[DEBUG]   (f) forceJavacCompilerUse = false
[DEBUG]   (f) fork = false
[DEBUG]   (f) generatedSourcesDirectory = /Users/rpatel/Projects/gs-rest-service/complete/target/generated-sources/annotations
[DEBUG]   (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile {execution: default-compile}
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /Users/rpatel/Projects/gs-rest-service/complete/target/classes
[DEBUG]   (f) parameters = true
[DEBUG]   (f) project = MavenProject: org.springframework:gs-rest-service:0.1.0 @ /Users/rpatel/Projects/gs-rest-service/complete/pom.xml
[DEBUG]   (f) projectArtifact = org.springframework:gs-rest-service:jar:0.1.0
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@231baf51
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) skipMultiThreadWarning = false
[DEBUG]   (f) source = 1.8
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.8
[DEBUG]   (f) useIncrementalCompilation = true
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Adding /Users/rpatel/Projects/gs-rest-service/complete/target/generated-sources/annotations to compile source roots:
  /Users/rpatel/Projects/gs-rest-service/complete/src/main/java
[DEBUG] New compile source roots:
  /Users/rpatel/Projects/gs-rest-service/complete/src/main/java
  /Users/rpatel/Projects/gs-rest-service/complete/target/generated-sources/annotations
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] --- maven-resources-plugin:3.0.2:testResources (default-testResources) @ gs-rest-service ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-resources-plugin:3.0.2, parent: java.net.URLClassLoader@1f32e575]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-resources-plugin:3.0.2:testResources' with basic configurator -->
[DEBUG]   (f) addDefaultExcludes = true
[DEBUG]   (f) buildFilters = []
[DEBUG]   (s) delimiters = [@]
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) escapeWindowsPaths = true
[DEBUG]   (f) fileNameFiltering = false
[DEBUG]   (s) includeEmptyDirs = false
[DEBUG]   (s) outputDirectory = /Users/rpatel/Projects/gs-rest-service/complete/target/test-classes
[DEBUG]   (s) overwrite = false
[DEBUG]   (f) project = MavenProject: org.springframework:gs-rest-service:0.1.0 @ /Users/rpatel/Projects/gs-rest-service/complete/pom.xml
[DEBUG]   (s) resources = [Resource {targetPath: null, filtering: false, FileSet {directory: /Users/rpatel/Projects/gs-rest-service/complete/src/test/resources, PatternSet [includes: {}, excludes: {}]}}]
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@231baf51
[DEBUG]   (f) skip = false
[DEBUG]   (f) supportMultiLineFiltering = false
[DEBUG]   (f) useBuildFilters = true
[DEBUG]   (s) useDefaultDelimiters = false
[DEBUG] -- end configuration --
[DEBUG] properties used {project.baseUri=file:/Users/rpatel/Projects/gs-rest-service/complete/, statsd-client.version=3.1.0, jaxen.version=1.1.6, xml-apis.version=1.4.01, spring.version=5.0.9.RELEASE, env.LC_CTYPE=en_US.UTF-8, env.TERM=xterm-256color, byte-buddy.version=1.7.11, janino.version=3.0.9, htmlunit.version=2.29, nio-multipart-parser.version=1.1.0, env.OLDPWD=/Users/rpatel/Projects/gs-rest-service/complete, env.rvm_bin_path=/Users/rpatel/.rvm/bin, maven-source-plugin.version=3.0.1, user.dir=/Users/rpatel/Projects/gs-rest-service/complete, java.vm.version=25.181-b13, env.NVM_PATH=/Users/rpatel/.nvm/versions/node/v9.2.0/lib/node, env.Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.vG1MQ8vvYN/Render, selenium.version=3.9.1, env.GEM_HOME=/Users/rpatel/.rvm/gems/ruby-2.3.1, versions-maven-plugin.version=2.3, jackson.version=2.9.6, env.rvm_pretty_print_flag=, thymeleaf-extras-java8time.version=3.0.1.RELEASE, sun.os.patch.level=unknown, snakeyaml.version=1.19, javax-validation.version=2.0.1.Final, jetty.version=9.4.12.v20180830, java.vm.specification.name=Java Virtual Machine Specification, httpclient.version=4.5.6, solr.version=6.6.5, tomcat.version=8.5.34, spring-kafka.version=2.1.10.RELEASE, jboss-transaction-spi.version=7.6.0.Final, influxdb-java.version=2.9, netty.version=4.1.29.Final, jdom2.version=2.0.6, os.name=Mac OS X, rxjava2.version=2.1.17, maven.version=3.3.9, maven-install-plugin.version=2.5.2, env.XPC_FLAGS=0x0, log4j2.version=2.10.0, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, os.arch=x86_64, user.name=rpatel, servlet-api.version=3.1.0, activemq.version=5.15.6, aspectj.version=1.8.13, sun.java.command=org.apache.maven.wrapper.MavenWrapperMain spring-boot:run --debug, env.USER=rpatel, ehcache.version=2.10.5, env.LOGNAME=rpatel, project.reporting.outputEncoding=UTF-8, env.NVM_NODEJS_ORG_MIRROR=https://nodejs.org/dist, undertow.version=1.4.25.Final, querydsl.version=4.1.4, env.rvm_gemstone_url=, mssql-jdbc.version=6.2.2.jre8, user.country=US, slf4j.version=1.7.25, java.endorsed.dirs=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/endorsed, maven-dependency-plugin.version=3.0.2, kotlin.version=1.2.51, ehcache3.version=3.5.2, junit.version=4.12, java.vm.specification.version=1.8, env.IRBRC=/Users/rpatel/.rvm/rubies/ruby-2.3.1/.irbrc, env.NVM_CD_FLAGS=-q, ftp.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, env._system_version=10.13, env.SHLVL=1, kafka.version=1.0.2, spring-data-releasetrain.version=Kay-SR10, java.vendor=Oracle Corporation, spring-session-bom.version=Apple-SR5, hamcrest.version=1.3, spring-restdocs.version=2.0.2.RELEASE, file.separator=/, flyway.version=5.0.7, antlr2.version=2.7.7, unboundid-ldapsdk.version=4.0.7, exec-maven-plugin.version=1.5.0, atomikos.version=4.0.6, jolokia.version=1.5.0, sun.java.launcher=SUN_STANDARD, env.PAGER=less, mockito.version=2.15.0, spring-ldap.version=2.3.2.RELEASE, maven-antrun-plugin.version=1.8, commons-pool2.version=2.5.0, java.library.path=/Users/rpatel/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:., env._system_type=Darwin, glassfish-el.version=3.0.0, classworlds.conf=/Users/rpatel/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2/apache-maven-3.3.9/bin/m2.conf, jmustache.version=1.14, quartz.version=2.3.0, project.build.sourceEncoding=UTF-8, sun.arch.data.model=64, micrometer.version=1.0.6, junit-jupiter.version=5.1.1, env.rvm_alias_expanded=, env.PATH=/Users/rpatel/.nvm/versions/node/v9.2.0/bin:/Users/rpatel/.rvm/gems/ruby-2.3.1/bin:/Users/rpatel/.rvm/gems/ruby-2.3.1@global/bin:/Users/rpatel/.rvm/rubies/ruby-2.3.1/bin:/Users/rpatel/.avn/bin:/Users/rpatel/bin:/usr/local/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/opt/X11/bin:/opt/ImageMagick/bin:/Users/rpatel/.maven/apache-maven-3.5.4/bin:/Users/rpatel/.rvm/bin, path.separator=:, git-commit-id-plugin.version=2.2.5, env.TERM_PROGRAM=Apple_Terminal, sun.io.unicode.encoding=UnicodeBig, maven-invoker-plugin.version=3.1.0, httpcore.version=4.4.10, env.NVM_DIR=/Users/rpatel/.nvm, xml-maven-plugin.version=1.0.2, user.language=en, env.rvm_script_name=, env.NVM_IOJS_ORG_MIRROR=https://iojs.org/dist, jaybird.version=3.0.5, env.rvm_path=/Users/rpatel/.rvm, joda-time.version=2.9.9, appengine-sdk.version=1.9.64, env.ZSH=/Users/rpatel/.oh-my-zsh, gopherProxySet=false, maven.compiler.source=1.8, java.class.version=52.0, lettuce.version=5.0.5.RELEASE, couchbase-client.version=2.5.9, jboss-logging.version=3.3.2.Final, maven-javadoc-plugin.version=3.0.1, mariadb.version=2.2.6, jooq.version=3.10.8, env.rvm_silent_flag=, file.encoding.pkg=sun.io, sun.cpu.endian=little, maven.compiler.target=1.8, cassandra-driver.version=3.4.0, maven-site-plugin.version=3.6, env.SHELL=/bin/zsh, env.rvm_version=1.29.4 (latest), env.JAVA_MAIN_CLASS_87239=org.apache.maven.wrapper.MavenWrapperMain, socksNonProxyHosts=local|*.local|169.254/16|*.169.254/16, env.rvm_bin_flag=, groovy.version=2.4.15, java.home=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre, jetty-el.version=8.5.33, maven-eclipse-plugin.version=2.10, spring-batch.version=4.0.1.RELEASE, maven.home=/Users/rpatel/.m2/wrapper/dists/apache-maven-3.3.9-bin/2609u9g41na2l7ogackmif6fj2/apache-maven-3.3.9, rxjava-adapter.version=1.2.1, env.__avn_active_file=, commons-lang3.version=3.7, maven-shade-plugin.version=2.4.3, http.nonProxyHosts=local|*.local|169.254/16|*.169.254/16, maven-enforcer-plugin.version=3.0.0-M2, commons-pool.version=1.6, maven-war-plugin.version=3.1.0, httpasyncclient.version=4.1.4, rxjava.version=1.3.8, couchbase-cache-client.version=2.1.0, commons-dbcp2.version=2.2.0, env.mate=/usr/local/bin/mate -w, maven-failsafe-plugin.version=2.21.0, xmlunit2.version=2.5.1, dom4j.version=1.6.1, env.SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.zlczlPfRs7/Listeners, liquibase.version=3.5.5, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, wsdl4j.version=1.6.3, env.DISPLAY=/private/tmp/com.apple.launchd.RKDwoRuxC6/org.macosforge.xquartz:0, env.RUBY_VERSION=ruby-2.3.1, env.MY_RUBY_HOME=/Users/rpatel/.rvm/rubies/ruby-2.3.1, json-path.version=2.4.0, hibernate-jpa-2.1-api.version=1.0.2.Final, env.XPC_SERVICE_NAME=0, jsonassert.version=1.5.0, hazelcast.version=3.9.4, javax-transaction.version=1.2, env.rvm_only_path_flag=, h2.version=1.4.197, env._system_name=OSX, env.rvm_nightly_flag=, spring-retry.version=1.2.2.RELEASE, env.rvm_quiet_flag=, maven-clean-plugin.version=3.0.0, spring-plugin.version=1.2.0.RELEASE, env.rvm_ruby_mode=, java.vm.specification.vendor=Oracle Corporation, dropwizard-metrics.version=3.2.6, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, env._system_arch=x86_64, narayana.version=5.8.2.Final, java.io.tmpdir=/var/folders/2d/cpwkgh2s5nd90fky6ryngxhr9nkvk9/T/, java.vendor.url=http://java.oracle.com/, lombok.version=1.16.22, javax-jsonb.version=1.0, sun.boot.library.path=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib, env.GEM_PATH=/Users/rpatel/.rvm/gems/ruby-2.3.1:/Users/rpatel/.rvm/gems/ruby-2.3.1@global, env.MANPATH=/Users/rpatel/.nvm/versions/node/v9.2.0/share/man:/usr/local/share/man:/Library/Frameworks/Python.framework/Versions/3.7/share/man:/usr/share/man:/opt/X11/share/man:/opt/ImageMagick/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man, derby.version=10.14.2.0, gson.version=2.8.5, javax-jms.version=2.0.1, thymeleaf-extras-springsecurity4.version=3.0.2.RELEASE, spring-security.version=5.0.8.RELEASE, java.runtime.name=Java(TM) SE Runtime Environment, maven-resources-plugin.version=3.0.2, env.rvm_niceness=, assertj.version=3.9.1, sun.cpu.isalist=, spring-amqp.version=2.0.6.RELEASE, env.rvm_ruby_file=, hibernate-validator.version=6.0.12.Final, maven.multiModuleProjectDirectory=/Users/rpatel/Projects/gs-rest-service/complete, commons-codec.version=1.11, user.home=/Users/rpatel, env.JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home, johnzon-jsonb.version=1.1.9, env.LSCOLORS=Gxfxcxdxbxegedabagacad, env.rvm_ruby_bits=, mongodb.version=3.6.4, java.specification.name=Java Platform API Specification, logback.version=1.2.3, env.rvm_ruby_make_install=, java.specification.vendor=Oracle Corporation, maven-help-plugin.version=2.2, rabbit-amqp-client.version=5.4.1, java.version=1.8.0_181, thymeleaf.version=3.0.9.RELEASE, embedded-mongo.version=2.0.3, postgresql.version=42.2.5, hsqldb.version=2.4.1, env.LESS=-R, hazelcast-hibernate5.version=1.2.3, javax-mail.version=1.6.2, webjars-hal-browser.version=3325375, flatten-maven-plugin.version=1.0.1, env.rvm_docs_type=, env.MAVEN_PROJECTBASEDIR=/Users/rpatel/Projects/gs-rest-service/complete, maven.build.timestamp=2018-10-22T16:59:43Z, jersey.version=2.26, env.rvm_hook=, jna.version=4.5.2, env.PWD=/Users/rpatel/Projects/gs-rest-service/complete, env.TMPDIR=/var/folders/2d/cpwkgh2s5nd90fky6ryngxhr9nkvk9/T/, line.separator=
, java.specification.version=1.8, java.vm.info=mixed mode, env.TERM_PROGRAM_VERSION=404, spring-cloud-connectors.version=2.0.3.RELEASE, javax-annotation.version=1.3.2, sun.boot.class.path=/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/classes, build-helper-maven-plugin.version=3.0.0, javax-json.version=1.1.2, bitronix.version=2.1.4, maven-deploy-plugin.version=2.8.2, jetty-jsp.version=2.2.0.v201112011158, env.rvm_prefix=/Users/rpatel, env.HOME=/Users/rpatel, mongo-driver-reactivestreams.version=1.7.1, infinispan.version=9.1.7.Final, org.slf4j.simpleLogger.defaultLogLevel=debug, env.rvm_sdk=, nekohtml.version=1.9.22, env.rvm_ruby_make=, java.awt.printerjob=sun.lwawt.macosx.CPrinterJob, jstl.version=1.2, env.rvm_gemstone_package_file=, sun.jnu.encoding=UTF-8, hibernate.version=5.2.17.Final, javax-money.version=1.0.3, java.runtime.version=1.8.0_181-b13, env.rvm_proxy=, sendgrid.version=4.1.2, env.rvm_use_flag=, env.NVM_BIN=/Users/rpatel/.nvm/versions/node/v9.2.0/bin, reactive-streams.version=1.0.2, maven.build.version=Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T11:41:47-05:00), user.timezone=America/New_York, resource.delimiter=@, reactor-bom.version=Bismuth-SR11, mysql.version=5.1.47, hikaricp.version=2.7.9, spring-hateoas.version=0.25.0.RELEASE, java.ext.dirs=/Users/rpatel/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java, env.MAVEN_CMD_LINE_ARGS= spring-boot:run --debug, caffeine.version=2.6.2, javax-jaxb.version=2.3.0, spring-integration.version=5.0.8.RELEASE, jest.version=5.3.4, java.class.path=/Users/rpatel/Projects/gs-rest-service/complete/.mvn/wrapper/maven-wrapper.jar, maven-jar-plugin.version=3.0.2, junit-platform.version=1.1.0, rest-assured.version=3.0.7, neo4j-ogm.version=3.1.2, os.version=10.13.6, thymeleaf-layout-dialect.version=2.3.0, sqlite-jdbc.version=3.21.0.1, classmate.version=1.3.4, javax-cache.version=1.1.0, env.TERM_SESSION_ID=15C154D9-E3DD-4BAF-863C-EEC7331DD9C3, env.LANG=en_US.UTF-8, jedis.version=2.9.0, java.awt.graphicsenv=sun.awt.CGraphicsEnvironment, maven-compiler-plugin.version=3.7.0, java.vm.vendor=Oracle Corporation, maven-assembly-plugin.version=3.1.0, freemarker.version=2.3.28, elasticsearch.version=5.6.11, thymeleaf-extras-data-attribute.version=2.0.1, selenium-htmlunit.version=2.29.3, webjars-locator-core.version=0.35, sun-mail.version=1.6.2, artemis.version=2.4.0, maven-surefire-plugin.version=2.21.0, jtds.version=1.3.1, env.NVM_RC_VERSION=8.10.0, simple-json.version=1.1.1, spring-ws.version=3.0.3.RELEASE, file.encoding=UTF-8, env.__CF_USER_TEXT_ENCODING=0x13596E49:0x0:0x0, awt.toolkit=sun.lwawt.macosx.LWCToolkit}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /Users/rpatel/Projects/gs-rest-service/complete/src/test/resources
excludes []
includes []
[INFO] skip non existing resourceDirectory /Users/rpatel/Projects/gs-rest-service/complete/src/test/resources
[DEBUG] no use filter components
[INFO] 
[INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ gs-rest-service ---
[DEBUG] Configuring mojo org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile from plugin realm ClassRealm[plugin>org.apache.maven.plugins:maven-compiler-plugin:3.7.0, parent: java.net.URLClassLoader@1f32e575]
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile' with basic configurator -->
[DEBUG]   (f) basedir = /Users/rpatel/Projects/gs-rest-service/complete
[DEBUG]   (f) buildDirectory = /Users/rpatel/Projects/gs-rest-service/complete/target
[DEBUG]   (f) compilePath = [/Users/rpatel/Projects/gs-rest-service/complete/target/classes, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/spring-boot-starter-web-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter/2.0.5.RELEASE/spring-boot-starter-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot/2.0.5.RELEASE/spring-boot-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.0.5.RELEASE/spring-boot-autoconfigure-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.0.5.RELEASE/spring-boot-starter-logging-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar, /Users/rpatel/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar, /Users/rpatel/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.10.0/log4j-to-slf4j-2.10.0.jar, /Users/rpatel/.m2/repository/org/apache/logging/log4j/log4j-api/2.10.0/log4j-api-2.10.0.jar, /Users/rpatel/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar, /Users/rpatel/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.0.5.RELEASE/spring-boot-starter-json-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.6/jackson-databind-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.6/jackson-core-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.9.6/jackson-datatype-jdk8-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.6/jackson-datatype-jsr310-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.9.6/jackson-module-parameter-names-2.9.6.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.0.5.RELEASE/spring-boot-starter-tomcat-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.34/tomcat-embed-core-8.5.34.jar, /Users/rpatel/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.34/tomcat-embed-el-8.5.34.jar, /Users/rpatel/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.34/tomcat-embed-websocket-8.5.34.jar, /Users/rpatel/.m2/repository/org/hibernate/validator/hibernate-validator/6.0.12.Final/hibernate-validator-6.0.12.Final.jar, /Users/rpatel/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar, /Users/rpatel/.m2/repository/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar, /Users/rpatel/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar, /Users/rpatel/.m2/repository/org/springframework/spring-web/5.0.9.RELEASE/spring-web-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-beans/5.0.9.RELEASE/spring-beans-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-webmvc/5.0.9.RELEASE/spring-webmvc-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-aop/5.0.9.RELEASE/spring-aop-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-context/5.0.9.RELEASE/spring-context-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-expression/5.0.9.RELEASE/spring-expression-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-core/5.0.9.RELEASE/spring-core-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-jcl/5.0.9.RELEASE/spring-jcl-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar]
[DEBUG]   (f) compileSourceRoots = [/Users/rpatel/Projects/gs-rest-service/complete/src/test/java]
[DEBUG]   (f) compilerId = javac
[DEBUG]   (f) debug = true
[DEBUG]   (f) encoding = UTF-8
[DEBUG]   (f) failOnError = true
[DEBUG]   (f) failOnWarning = false
[DEBUG]   (f) forceJavacCompilerUse = false
[DEBUG]   (f) fork = false
[DEBUG]   (f) generatedTestSourcesDirectory = /Users/rpatel/Projects/gs-rest-service/complete/target/generated-test-sources/test-annotations
[DEBUG]   (f) mojoExecution = org.apache.maven.plugins:maven-compiler-plugin:3.7.0:testCompile {execution: default-testCompile}
[DEBUG]   (f) optimize = false
[DEBUG]   (f) outputDirectory = /Users/rpatel/Projects/gs-rest-service/complete/target/test-classes
[DEBUG]   (f) parameters = true
[DEBUG]   (f) project = MavenProject: org.springframework:gs-rest-service:0.1.0 @ /Users/rpatel/Projects/gs-rest-service/complete/pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@231baf51
[DEBUG]   (f) showDeprecation = false
[DEBUG]   (f) showWarnings = false
[DEBUG]   (f) skipMultiThreadWarning = false
[DEBUG]   (f) source = 1.8
[DEBUG]   (f) staleMillis = 0
[DEBUG]   (f) target = 1.8
[DEBUG]   (f) testPath = [/Users/rpatel/Projects/gs-rest-service/complete/target/test-classes, /Users/rpatel/Projects/gs-rest-service/complete/target/classes, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-web/2.0.5.RELEASE/spring-boot-starter-web-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter/2.0.5.RELEASE/spring-boot-starter-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot/2.0.5.RELEASE/spring-boot-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/2.0.5.RELEASE/spring-boot-autoconfigure-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-logging/2.0.5.RELEASE/spring-boot-starter-logging-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/ch/qos/logback/logback-classic/1.2.3/logback-classic-1.2.3.jar, /Users/rpatel/.m2/repository/ch/qos/logback/logback-core/1.2.3/logback-core-1.2.3.jar, /Users/rpatel/.m2/repository/org/apache/logging/log4j/log4j-to-slf4j/2.10.0/log4j-to-slf4j-2.10.0.jar, /Users/rpatel/.m2/repository/org/apache/logging/log4j/log4j-api/2.10.0/log4j-api-2.10.0.jar, /Users/rpatel/.m2/repository/org/slf4j/jul-to-slf4j/1.7.25/jul-to-slf4j-1.7.25.jar, /Users/rpatel/.m2/repository/javax/annotation/javax.annotation-api/1.3.2/javax.annotation-api-1.3.2.jar, /Users/rpatel/.m2/repository/org/yaml/snakeyaml/1.19/snakeyaml-1.19.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-json/2.0.5.RELEASE/spring-boot-starter-json-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.9.6/jackson-databind-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.9.0/jackson-annotations-2.9.0.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.9.6/jackson-core-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jdk8/2.9.6/jackson-datatype-jdk8-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/datatype/jackson-datatype-jsr310/2.9.6/jackson-datatype-jsr310-2.9.6.jar, /Users/rpatel/.m2/repository/com/fasterxml/jackson/module/jackson-module-parameter-names/2.9.6/jackson-module-parameter-names-2.9.6.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-tomcat/2.0.5.RELEASE/spring-boot-starter-tomcat-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/apache/tomcat/embed/tomcat-embed-core/8.5.34/tomcat-embed-core-8.5.34.jar, /Users/rpatel/.m2/repository/org/apache/tomcat/embed/tomcat-embed-el/8.5.34/tomcat-embed-el-8.5.34.jar, /Users/rpatel/.m2/repository/org/apache/tomcat/embed/tomcat-embed-websocket/8.5.34/tomcat-embed-websocket-8.5.34.jar, /Users/rpatel/.m2/repository/org/hibernate/validator/hibernate-validator/6.0.12.Final/hibernate-validator-6.0.12.Final.jar, /Users/rpatel/.m2/repository/javax/validation/validation-api/2.0.1.Final/validation-api-2.0.1.Final.jar, /Users/rpatel/.m2/repository/org/jboss/logging/jboss-logging/3.3.2.Final/jboss-logging-3.3.2.Final.jar, /Users/rpatel/.m2/repository/com/fasterxml/classmate/1.3.4/classmate-1.3.4.jar, /Users/rpatel/.m2/repository/org/springframework/spring-web/5.0.9.RELEASE/spring-web-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-beans/5.0.9.RELEASE/spring-beans-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-webmvc/5.0.9.RELEASE/spring-webmvc-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-aop/5.0.9.RELEASE/spring-aop-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-context/5.0.9.RELEASE/spring-context-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-expression/5.0.9.RELEASE/spring-expression-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-starter-test/2.0.5.RELEASE/spring-boot-starter-test-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-test/2.0.5.RELEASE/spring-boot-test-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/boot/spring-boot-test-autoconfigure/2.0.5.RELEASE/spring-boot-test-autoconfigure-2.0.5.RELEASE.jar, /Users/rpatel/.m2/repository/junit/junit/4.12/junit-4.12.jar, /Users/rpatel/.m2/repository/org/assertj/assertj-core/3.9.1/assertj-core-3.9.1.jar, /Users/rpatel/.m2/repository/org/mockito/mockito-core/2.15.0/mockito-core-2.15.0.jar, /Users/rpatel/.m2/repository/net/bytebuddy/byte-buddy/1.7.11/byte-buddy-1.7.11.jar, /Users/rpatel/.m2/repository/net/bytebuddy/byte-buddy-agent/1.7.11/byte-buddy-agent-1.7.11.jar, /Users/rpatel/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar, /Users/rpatel/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar, /Users/rpatel/.m2/repository/org/hamcrest/hamcrest-library/1.3/hamcrest-library-1.3.jar, /Users/rpatel/.m2/repository/org/skyscreamer/jsonassert/1.5.0/jsonassert-1.5.0.jar, /Users/rpatel/.m2/repository/com/vaadin/external/google/android-json/0.0.20131108.vaadin1/android-json-0.0.20131108.vaadin1.jar, /Users/rpatel/.m2/repository/org/springframework/spring-core/5.0.9.RELEASE/spring-core-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-jcl/5.0.9.RELEASE/spring-jcl-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/springframework/spring-test/5.0.9.RELEASE/spring-test-5.0.9.RELEASE.jar, /Users/rpatel/.m2/repository/org/xmlunit/xmlunit-core/2.5.1/xmlunit-core-2.5.1.jar, /Users/rpatel/.m2/repository/com/jayway/jsonpath/json-path/2.4.0/json-path-2.4.0.jar, /Users/rpatel/.m2/repository/net/minidev/json-smart/2.3/json-smart-2.3.jar, /Users/rpatel/.m2/repository/net/minidev/accessors-smart/1.2/accessors-smart-1.2.jar, /Users/rpatel/.m2/repository/org/ow2/asm/asm/5.0.4/asm-5.0.4.jar, /Users/rpatel/.m2/repository/org/slf4j/slf4j-api/1.7.25/slf4j-api-1.7.25.jar]
[DEBUG]   (f) useIncrementalCompilation = true
[DEBUG]   (f) verbose = false
[DEBUG] -- end configuration --
[DEBUG] Using compiler 'javac'.
[DEBUG] Adding /Users/rpatel/Projects/gs-rest-service/complete/target/generated-test-sources/test-annotations to test-compile source roots:
  /Users/rpatel/Projects/gs-rest-service/complete/src/test/java
[DEBUG] New test-compile source roots:
  /Users/rpatel/Projects/gs-rest-service/complete/src/test/java
  /Users/rpatel/Projects/gs-rest-service/complete/target/generated-test-sources/test-annotations
[DEBUG] CompilerReuseStrategy: reuseCreated
[DEBUG] useIncrementalCompilation enabled
[INFO] Nothing to compile - all classes are up to date
[INFO] 
[INFO] <<< spring-boot-maven-plugin:2.0.5.RELEASE:run (default-cli) < test-compile @ gs-rest-service <<<
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=0, ConflictMarker.nodeCount=95, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=56, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=7, ConflictResolver.conflictItemCount=93, DefaultDependencyCollector.collectTime=19, DefaultDependencyCollector.transformTime=8}
[DEBUG] org.springframework:gs-rest-service:jar:0.1.0
[DEBUG]    org.springframework.boot:spring-boot-starter-web:jar:2.0.5.RELEASE:compile
[DEBUG]       org.springframework.boot:spring-boot-starter:jar:2.0.5.RELEASE:compile
[DEBUG]          org.springframework.boot:spring-boot:jar:2.0.5.RELEASE:compile
[DEBUG]          org.springframework.boot:spring-boot-autoconfigure:jar:2.0.5.RELEASE:compile
[DEBUG]          org.springframework.boot:spring-boot-starter-logging:jar:2.0.5.RELEASE:compile
[DEBUG]             ch.qos.logback:logback-classic:jar:1.2.3:compile
[DEBUG]                ch.qos.logback:logback-core:jar:1.2.3:compile
[DEBUG]             org.apache.logging.log4j:log4j-to-slf4j:jar:2.10.0:compile
[DEBUG]                org.apache.logging.log4j:log4j-api:jar:2.10.0:compile
[DEBUG]             org.slf4j:jul-to-slf4j:jar:1.7.25:compile
[DEBUG]          javax.annotation:javax.annotation-api:jar:1.3.2:compile
[DEBUG]          org.yaml:snakeyaml:jar:1.19:runtime
[DEBUG]       org.springframework.boot:spring-boot-starter-json:jar:2.0.5.RELEASE:compile
[DEBUG]          com.fasterxml.jackson.core:jackson-databind:jar:2.9.6:compile
[DEBUG]             com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0:compile
[DEBUG]             com.fasterxml.jackson.core:jackson-core:jar:2.9.6:compile
[DEBUG]          com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.6:compile
[DEBUG]          com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.6:compile
[DEBUG]          com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.6:compile
[DEBUG]       org.springframework.boot:spring-boot-starter-tomcat:jar:2.0.5.RELEASE:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.34:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.34:compile
[DEBUG]          org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.34:compile
[DEBUG]       org.hibernate.validator:hibernate-validator:jar:6.0.12.Final:compile
[DEBUG]          javax.validation:validation-api:jar:2.0.1.Final:compile
[DEBUG]          org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
[DEBUG]          com.fasterxml:classmate:jar:1.3.4:compile
[DEBUG]       org.springframework:spring-web:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-beans:jar:5.0.9.RELEASE:compile
[DEBUG]       org.springframework:spring-webmvc:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-aop:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-context:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-expression:jar:5.0.9.RELEASE:compile
[DEBUG]    org.springframework.boot:spring-boot-starter-test:jar:2.0.5.RELEASE:test
[DEBUG]       org.springframework.boot:spring-boot-test:jar:2.0.5.RELEASE:test
[DEBUG]       org.springframework.boot:spring-boot-test-autoconfigure:jar:2.0.5.RELEASE:test
[DEBUG]       junit:junit:jar:4.12:test
[DEBUG]       org.assertj:assertj-core:jar:3.9.1:test
[DEBUG]       org.mockito:mockito-core:jar:2.15.0:test
[DEBUG]          net.bytebuddy:byte-buddy:jar:1.7.11:test (version managed from 1.7.9 by org.springframework.boot:spring-boot-dependencies:2.0.5.RELEASE)
[DEBUG]          net.bytebuddy:byte-buddy-agent:jar:1.7.11:test (version managed from 1.7.9 by org.springframework.boot:spring-boot-dependencies:2.0.5.RELEASE)
[DEBUG]          org.objenesis:objenesis:jar:2.6:test
[DEBUG]       org.hamcrest:hamcrest-core:jar:1.3:test
[DEBUG]       org.hamcrest:hamcrest-library:jar:1.3:test
[DEBUG]       org.skyscreamer:jsonassert:jar:1.5.0:test
[DEBUG]          com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
[DEBUG]       org.springframework:spring-core:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-jcl:jar:5.0.9.RELEASE:compile
[DEBUG]       org.springframework:spring-test:jar:5.0.9.RELEASE:test
[DEBUG]       org.xmlunit:xmlunit-core:jar:2.5.1:test
[DEBUG]    com.jayway.jsonpath:json-path:jar:2.4.0:test
[DEBUG]       net.minidev:json-smart:jar:2.3:test
[DEBUG]          net.minidev:accessors-smart:jar:1.2:test
[DEBUG]             org.ow2.asm:asm:jar:5.0.4:test
[DEBUG]       org.slf4j:slf4j-api:jar:1.7.25:compile
[INFO] 
[INFO] --- spring-boot-maven-plugin:2.0.5.RELEASE:run (default-cli) @ gs-rest-service ---
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=1, ConflictMarker.markTime=0, ConflictMarker.nodeCount=325, ConflictIdSorter.graphTime=0, ConflictIdSorter.topsortTime=0, ConflictIdSorter.conflictIdCount=83, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=6, ConflictResolver.conflictItemCount=163, DefaultDependencyCollector.collectTime=534, DefaultDependencyCollector.transformTime=7}
[DEBUG] org.springframework.boot:spring-boot-maven-plugin:jar:2.0.5.RELEASE:
[DEBUG]    org.springframework.boot:spring-boot-loader-tools:jar:2.0.5.RELEASE:compile
[DEBUG]       org.springframework:spring-core:jar:5.0.9.RELEASE:compile
[DEBUG]          org.springframework:spring-jcl:jar:5.0.9.RELEASE:compile
[DEBUG]       org.apache.commons:commons-compress:jar:1.14:compile
[DEBUG]    org.apache.maven:maven-archiver:jar:2.6:compile
[DEBUG]       org.apache.maven.shared:maven-shared-utils:jar:0.7:compile
[DEBUG]          com.google.code.findbugs:jsr305:jar:2.0.1:compile
[DEBUG]       org.codehaus.plexus:plexus-interpolation:jar:1.21:compile
[DEBUG]    org.apache.maven:maven-artifact:jar:3.1.1:compile
[DEBUG]    org.apache.maven:maven-core:jar:3.1.1:compile
[DEBUG]       org.apache.maven:maven-settings-builder:jar:3.1.1:compile
[DEBUG]       org.apache.maven:maven-repository-metadata:jar:3.1.1:compile
[DEBUG]       org.apache.maven:maven-model-builder:jar:3.1.1:compile
[DEBUG]       org.apache.maven:maven-aether-provider:jar:3.1.1:compile
[DEBUG]          org.eclipse.aether:aether-spi:jar:0.9.0.M2:compile
[DEBUG]       org.eclipse.aether:aether-impl:jar:0.9.0.M2:compile
[DEBUG]       org.eclipse.aether:aether-api:jar:0.9.0.M2:compile
[DEBUG]       org.eclipse.aether:aether-util:jar:0.9.0.M2:compile
[DEBUG]       org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M5:compile
[DEBUG]          javax.enterprise:cdi-api:jar:1.0:compile
[DEBUG]             javax.annotation:jsr250-api:jar:1.0:compile
[DEBUG]             javax.inject:javax.inject:jar:1:compile
[DEBUG]          org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0:compile
[DEBUG]             aopalliance:aopalliance:jar:1.0:compile
[DEBUG]          org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M5:compile
[DEBUG]       org.codehaus.plexus:plexus-classworlds:jar:2.5.1:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[DEBUG]       org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]          org.sonatype.plexus:plexus-cipher:jar:1.4:compile
[DEBUG]    org.apache.maven:maven-model:jar:3.1.1:compile
[DEBUG]    org.apache.maven:maven-plugin-api:jar:3.1.1:compile
[DEBUG]    org.apache.maven:maven-settings:jar:3.1.1:compile
[DEBUG]    org.apache.maven.shared:maven-common-artifact-filters:jar:1.4:compile
[DEBUG]       org.apache.maven:maven-project:jar:2.0.8:compile
[DEBUG]          org.apache.maven:maven-profile:jar:2.0.8:compile
[DEBUG]          org.apache.maven:maven-artifact-manager:jar:2.0.8:compile
[DEBUG]          org.apache.maven:maven-plugin-registry:jar:2.0.8:compile
[DEBUG]       org.codehaus.plexus:plexus-container-default:jar:1.5.5:compile
[DEBUG]          org.apache.xbean:xbean-reflect:jar:3.4:compile
[DEBUG]             log4j:log4j:jar:1.2.12:compile
[DEBUG]             commons-logging:commons-logging-api:jar:1.1:compile
[DEBUG]          com.google.collections:google-collections:jar:1.0:compile
[DEBUG]          junit:junit:jar:4.12:compile
[DEBUG]             org.hamcrest:hamcrest-core:jar:1.3:compile
[DEBUG]    org.codehaus.plexus:plexus-archiver:jar:2.8.1:compile
[DEBUG]       org.codehaus.plexus:plexus-io:jar:2.3.2:compile
[DEBUG]    org.codehaus.plexus:plexus-utils:jar:3.0.24:compile
[DEBUG]    org.sonatype.plexus:plexus-build-api:jar:0.0.7:compile
[DEBUG]    org.apache.maven.plugins:maven-shade-plugin:jar:2.2:compile
[DEBUG]       org.apache.maven:maven-compat:jar:3.0:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]                org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]          org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
[DEBUG]       asm:asm:jar:3.3.1:compile
[DEBUG]       asm:asm-commons:jar:3.3.1:compile
[DEBUG]          asm:asm-tree:jar:3.3.1:compile
[DEBUG]       org.jdom:jdom:jar:1.1:compile
[DEBUG]       org.apache.maven.shared:maven-dependency-tree:jar:2.1:compile
[DEBUG]       org.vafer:jdependency:jar:0.7:compile
[DEBUG]          commons-io:commons-io:jar:1.3.2:compile
[DEBUG]          asm:asm-analysis:jar:3.2:compile
[DEBUG]          asm:asm-util:jar:3.2:compile
[DEBUG]       com.google.guava:guava:jar:11.0.2:compile
[DEBUG] Created new class realm plugin>org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE
[DEBUG] Importing foreign packages into class realm plugin>org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm plugin>org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE
[DEBUG]   Included: org.springframework.boot:spring-boot-maven-plugin:jar:2.0.5.RELEASE
[DEBUG]   Included: org.springframework.boot:spring-boot-loader-tools:jar:2.0.5.RELEASE
[DEBUG]   Included: org.springframework:spring-core:jar:5.0.9.RELEASE
[DEBUG]   Included: org.springframework:spring-jcl:jar:5.0.9.RELEASE
[DEBUG]   Included: org.apache.commons:commons-compress:jar:1.14
[DEBUG]   Included: org.apache.maven:maven-archiver:jar:2.6
[DEBUG]   Included: org.apache.maven.shared:maven-shared-utils:jar:0.7
[DEBUG]   Included: com.google.code.findbugs:jsr305:jar:2.0.1
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.21
[DEBUG]   Included: org.eclipse.aether:aether-util:jar:0.9.0.M2
[DEBUG]   Included: javax.enterprise:cdi-api:jar:1.0
[DEBUG]   Included: javax.annotation:jsr250-api:jar:1.0
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:no_aop:3.1.0
[DEBUG]   Included: aopalliance:aopalliance:jar:1.0
[DEBUG]   Included: org.eclipse.sisu:org.eclipse.sisu.inject:jar:0.0.0.M5
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.5.5
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.4
[DEBUG]   Included: org.apache.maven.shared:maven-common-artifact-filters:jar:1.4
[DEBUG]   Included: org.apache.xbean:xbean-reflect:jar:3.4
[DEBUG]   Included: log4j:log4j:jar:1.2.12
[DEBUG]   Included: commons-logging:commons-logging-api:jar:1.1
[DEBUG]   Included: com.google.collections:google-collections:jar:1.0
[DEBUG]   Included: junit:junit:jar:4.12
[DEBUG]   Included: org.hamcrest:hamcrest-core:jar:1.3
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:2.8.1
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:2.3.2
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.24
[DEBUG]   Included: org.sonatype.plexus:plexus-build-api:jar:0.0.7
[DEBUG]   Included: org.apache.maven.plugins:maven-shade-plugin:jar:2.2
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: asm:asm:jar:3.3.1
[DEBUG]   Included: asm:asm-commons:jar:3.3.1
[DEBUG]   Included: asm:asm-tree:jar:3.3.1
[DEBUG]   Included: org.jdom:jdom:jar:1.1
[DEBUG]   Included: org.apache.maven.shared:maven-dependency-tree:jar:2.1
[DEBUG]   Included: org.vafer:jdependency:jar:0.7
[DEBUG]   Included: commons-io:commons-io:jar:1.3.2
[DEBUG]   Included: asm:asm-analysis:jar:3.2
[DEBUG]   Included: asm:asm-util:jar:3.2
[DEBUG]   Included: com.google.guava:guava:jar:11.0.2
[DEBUG] Configuring mojo org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE:run from plugin realm ClassRealm[plugin>org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE, parent: java.net.URLClassLoader@1f32e575]
[DEBUG] Configuring mojo 'org.springframework.boot:spring-boot-maven-plugin:2.0.5.RELEASE:run' with basic configurator -->
[DEBUG]   (f) addResources = false
[DEBUG]   (f) agent = []
[DEBUG]   (f) arguments = []
[DEBUG]   (f) classesDirectory = /Users/rpatel/Projects/gs-rest-service/complete/target/classes
[DEBUG]   (f) excludes = []
[DEBUG]   (f) folders = []
[DEBUG]   (f) includes = []
[DEBUG]   (f) profiles = []
[DEBUG]   (f) project = MavenProject: org.springframework:gs-rest-service:0.1.0 @ /Users/rpatel/Projects/gs-rest-service/complete/pom.xml
[DEBUG]   (f) skip = false
[DEBUG]   (f) useTestClasspath = false
[DEBUG] -- end configuration --

  .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.5.RELEASE)

2018-10-22 12:59:45.404  INFO 87239 --- [           main] hello.Application                        : Starting Application on RPatel-mbp.local with PID 87239 (/Users/rpatel/Projects/gs-rest-service/complete/target/classes started by rpatel in /Users/rpatel/Projects/gs-rest-service/complete)
2018-10-22 12:59:45.411  INFO 87239 --- [           main] hello.Application                        : No active profile set, falling back to default profiles: default
2018-10-22 12:59:45.540  INFO 87239 --- [           main] ConfigServletWebServerApplicationContext : Refreshing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5967ca4b: startup date [Mon Oct 22 12:59:45 EDT 2018]; root of context hierarchy
2018-10-22 12:59:48.287  INFO 87239 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat initialized with port(s): 8080 (http)
2018-10-22 12:59:48.476  INFO 87239 --- [           main] o.apache.catalina.core.StandardService   : Starting service [Tomcat]
2018-10-22 12:59:48.476  INFO 87239 --- [           main] org.apache.catalina.core.StandardEngine  : Starting Servlet Engine: Apache Tomcat/8.5.34
2018-10-22 12:59:48.500  INFO 87239 --- [ost-startStop-1] o.a.catalina.core.AprLifecycleListener   : The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [/Users/rpatel/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.]
2018-10-22 12:59:48.692  INFO 87239 --- [ost-startStop-1] o.a.c.c.C.[Tomcat].[localhost].[/]       : Initializing Spring embedded WebApplicationContext
2018-10-22 12:59:48.693  INFO 87239 --- [ost-startStop-1] o.s.web.context.ContextLoader            : Root WebApplicationContext: initialization completed in 3153 ms
2018-10-22 12:59:48.846  INFO 87239 --- [ost-startStop-1] o.s.b.w.servlet.ServletRegistrationBean  : Servlet dispatcherServlet mapped to [/]
2018-10-22 12:59:48.854  INFO 87239 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'characterEncodingFilter' to: [/*]
2018-10-22 12:59:48.855  INFO 87239 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'hiddenHttpMethodFilter' to: [/*]
2018-10-22 12:59:48.855  INFO 87239 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'httpPutFormContentFilter' to: [/*]
2018-10-22 12:59:48.855  INFO 87239 --- [ost-startStop-1] o.s.b.w.servlet.FilterRegistrationBean   : Mapping filter: 'requestContextFilter' to: [/*]
2018-10-22 12:59:49.079  INFO 87239 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**/favicon.ico] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-10-22 12:59:49.448  INFO 87239 --- [           main] s.w.s.m.m.a.RequestMappingHandlerAdapter : Looking for @ControllerAdvice: org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@5967ca4b: startup date [Mon Oct 22 12:59:45 EDT 2018]; root of context hierarchy
2018-10-22 12:59:49.607  INFO 87239 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/greeting]}" onto public hello.Greeting hello.GreetingController.greeting(java.lang.String)
2018-10-22 12:59:49.621  INFO 87239 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error]}" onto public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String, java.lang.Object>> org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.error(javax.servlet.http.HttpServletRequest)
2018-10-22 12:59:49.623  INFO 87239 --- [           main] s.w.s.m.m.a.RequestMappingHandlerMapping : Mapped "{[/error],produces=[text/html]}" onto public org.springframework.web.servlet.ModelAndView org.springframework.boot.autoconfigure.web.servlet.error.BasicErrorController.errorHtml(javax.servlet.http.HttpServletRequest,javax.servlet.http.HttpServletResponse)
2018-10-22 12:59:49.705  INFO 87239 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/webjars/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-10-22 12:59:49.706  INFO 87239 --- [           main] o.s.w.s.handler.SimpleUrlHandlerMapping  : Mapped URL path [/**] onto handler of type [class org.springframework.web.servlet.resource.ResourceHttpRequestHandler]
2018-10-22 12:59:49.971  INFO 87239 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2018-10-22 12:59:50.054  INFO 87239 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2018-10-22 12:59:50.065  INFO 87239 --- [           main] hello.Application                        : Started Application in 5.336 seconds (JVM running for 12.766)

Suggestion: change service's funcionality

I'd suggest you change the funcionality... Using a counter is using state and it's a bad practice using state that way in a service. I propose removing the counter part from the code.

Guide not following the codeset naming convention 'initial' directory should be called 'start'

I am working on a mechanism to bring the guides into STS. The mechanism will be designed to try and take the guides as much as possible 'as is' directly from github, without requiring extensive meta-data added by guide authors.

To make this possible, guides should stick closely to the 'expected layout'.

I am basing my expectations on projects 'https://github.com/springframework-meta/gs-maven' and 'https://github.com/springframework-meta/gs-gradle'.

The codesets in those projects are called 'start' and 'complete'.

The 'start' codeset in this guide however is called 'initial'.

Please rename.

Kris

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.