micronaut-examples
micronaut-examples copied to clipboard
Start of pets hangs on/stuck at Gradle execution phase
Hi all,
I have used the docker-compose and I currently have all I need; redis, mongo, consul and neo4j. However it does not complete for some reason.
Environment OSX, Oracle JDK 1.8.0_201, Gradle 6.0.1
Steps to Reproduce Cloning this repository Using docker-compose up to prepare Running ./gradlew pets:run
Expected Behaviour: Gradle will build without any problems
Actual Behaviour: Gradle hangs up at execution phase (always at 87%):
:pets:run=--> 87% EXECUTING [..some minutes ..]
`> Task :pets:run 15:35:43.177 [main] WARN c.n.c.sources.URLConfigurationSource - No URLs will be polled as dynamic configuration sources. 15:35:43.182 [main] INFO c.n.c.sources.URLConfigurationSource - To enable URLs as dynamic configuration sources, define System property archaius.configurationSource.additionalUrls or make config.properties available on classpath. 15:35:49.705 [main] INFO o.h.validator.internal.util.Version - HV000001: Hibernate Validator 6.0.17.Final 15:35:49.762 [main] INFO o.h.v.i.engine.ConfigurationImpl - HV000002: Ignoring XML configuration. 15:35:51.331 [main] INFO io.micronaut.runtime.Micronaut - Startup completed in 11738ms. Server Running: http://localhost:3386 WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.fasterxml.jackson.module.afterburner.util.MyClassLoader (file:/Users/streamerc/.m2/repository/com/fasterxml/jackson/module/jackson-module-afterburner/2.10.1/jackson-module-afterburner-2.10.1.jar) to method java.lang.ClassLoader.findLoadedClass(java.lang.String) WARNING: Please consider reporting this to the maintainers of com.fasterxml.jackson.module.afterburner.util.MyClassLoader WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 15:35:52.833 [nioEventLoopGroup-1-2] INFO i.m.d.registration.AutoRegistration - Registered service [pets] with Consul 15:36:44.322 [pool-1-thread-1] INFO org.mongodb.driver.cluster - Cluster created with settings {hosts=[localhost:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500} 15:36:44.552 [cluster-ClusterId{value='5e8f24ec74f61b149887d3c7', description='null'}-localhost:27017] INFO org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:1}] to localhost:27017 15:36:44.565 [cluster-ClusterId{value='5e8f24ec74f61b149887d3c7', description='null'}-localhost:27017] INFO org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=localhost:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[4, 2, 5]}, minWireVersion=0, maxWireVersion=8, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=10228953} <===========--> 87% EXECUTING [14m 38s]
Note: Edited for development environment info.