i have a project built with jhipster (spring-boot).
run my project with Run Configuration from Eclipse IDE:
clean spring-boot:run -Dmaven.test.skip="true" -Drebel.remoting_plugin="true"
every time i save changes, jrebel give me error like the following:
[2017-12-03 22:15:55] [Project my-project, server localhost] Connecting to server to sync project
[2017-12-03 22:15:55] Unexpected response from server. Raw Headers: {date=Sun, 03 Dec 2017 15:15:55 GMT, allow=GET, HEAD, expires=0, transfer-encoding=chunked, x-xss-protection=1; mode=block, x-content-type-options=nosniff, connection=keep-alive, content-type=application/json;charset=UTF-8, cache-control=no-cache, no-store, max-age=0, must-revalidate, pragma=no-cache, x-application-context=my-project:swagger,dev:8080}
[2017-12-03 22:15:55] Unexpected response from server. First kilobyte of content:
[2017-12-03 22:15:55] {
"timestamp" : "2017-12-03T15:15:55.499+0000",
"status" : 405,
"error" : "Method Not Allowed",
"exception" : "org.springframework.web.HttpRequestMethodNotSupportedException",
"message" : "Request method 'POST' not supported",
"path" : "/"
}
[2017-12-03 22:15:55] [Project my-project, server localhost] Synchronization failed! JRebel remote server did not respond. The remote server has to be started with the JVM argument: -Drebel.remoting_plugin=true.
[2017-12-03 22:15:55] Synchronization took 42 ms in total.
what is actually happen? how to solve this?
my environment:
- macOS
- jRebel 7.1.3
- spring-boot 1.5.9.RELEASE
thanks in advance.