Open adamgall opened 5 years ago
I probably have to build the Java app first?
must first generate the backend and frontend artifacts before running the docker compose, for the backend is to run the command 'gradlew bootJar' and the frontend 'npm install' and then 'ng build', for more clarity the backend and the frontend they have their README.
I've been attempting to get this running on MacOS.
I've installed gradle
and ran gradle bootJar
. I was still getting an error as indicated in the original post of this issue.
Executing docker-compose up
in the root directory gets further along this time, but the todoapp_backend_1
container keeps crashing with the following error stack trace:
backend_1 |
backend_1 | . ____ _ __ _ _
backend_1 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
backend_1 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
backend_1 | \\/ ___)| |_)| | | | | || (_| | ) ) ) )
backend_1 | ' |____| .__|_| |_|_| |_\__, | / / / /
backend_1 | =========|_|==============|___/=/_/_/_/
backend_1 | :: Spring Boot :: (v2.1.3.RELEASE)
backend_1 |
backend_1 | 2019-03-29 00:45:03.933 INFO 1 --- [ main] com.ceiba.todo.TodoListApp : Starting TodoListApp on 6053e0ebb9c0 with PID 1 (/home/app/todo_backend-0.0.1-SNAPSHOT.jar started by root in /home/app)
backend_1 | 2019-03-29 00:45:03.991 INFO 1 --- [ main] com.ceiba.todo.TodoListApp : No active profile set, falling back to default profiles: default
backend_1 | 2019-03-29 00:45:11.831 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode.
backend_1 | 2019-03-29 00:45:12.270 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 405ms. Found 3 repository interfaces.
backend_1 | 2019-03-29 00:45:17.856 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$e5698b2f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
backend_1 | 2019-03-29 00:45:21.787 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
backend_1 | 2019-03-29 00:45:22.158 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
backend_1 | 2019-03-29 00:45:22.196 INFO 1 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.16]
backend_1 | 2019-03-29 00:45:22.397 INFO 1 --- [ main] 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: [/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64:/usr/lib/jvm/java-1.8-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib]
backend_1 | 2019-03-29 00:45:23.361 INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
backend_1 | 2019-03-29 00:45:23.364 INFO 1 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 17939 ms
backend_1 | 2019-03-29 00:45:30.521 INFO 1 --- [ main] org.dozer.config.GlobalSettings : Trying to find Dozer configuration file: dozer.properties
backend_1 | 2019-03-29 00:45:30.800 WARN 1 --- [ main] org.dozer.config.GlobalSettings : Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties.
backend_1 | 2019-03-29 00:45:30.890 INFO 1 --- [ main] org.dozer.DozerInitializer : Initializing Dozer. Version: 5.5.0, Thread Name: main
backend_1 | 2019-03-29 00:45:30.923 INFO 1 --- [ main] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server
backend_1 | 2019-03-29 00:45:30.961 INFO 1 --- [ main] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server
backend_1 | 2019-03-29 00:45:31.009 INFO 1 --- [ main] org.dozer.DozerBeanMapper : Initializing a new instance of dozer bean mapper.
backend_1 | 2019-03-29 00:45:33.209 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@71def8f8, org.springframework.security.web.context.SecurityContextPersistenceFilter@429bffaa, org.springframework.security.web.header.HeaderWriterFilter@10d307f1, org.springframework.security.web.authentication.logout.LogoutFilter@32b260fa, com.ceiba.todo.security.jwt.JwtTokenFilter@383bfa16, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@483f6d77, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@28f3b248, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4d465b11, org.springframework.security.web.session.SessionManagementFilter@3e84448c, org.springframework.security.web.access.ExceptionTranslationFilter@73700b80, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3bf9ce3e]
backend_1 | 2019-03-29 00:45:36.109 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
backend_1 | 2019-03-29 00:45:38.905 INFO 1 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse
backend_1 | 2019-03-29 00:45:39.143 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting...
backend_1 | 2019-03-29 00:45:41.644 ERROR 1 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization.
backend_1 |
backend_1 | com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 | at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:835) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:455) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:199) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467) [HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541) [HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115) [HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) [HikariCP-3.2.0.jar!/:na]
backend_1 | at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:56) [flyway-core-5.2.4.jar!/:na]
backend_1 | at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:72) [flyway-core-5.2.4.jar!/:na]
backend_1 | at org.flywaydb.core.Flyway.execute(Flyway.java:1670) [flyway-core-5.2.4.jar!/:na]
backend_1 | at org.flywaydb.core.Flyway.migrate(Flyway.java:1356) [flyway-core-5.2.4.jar!/:na]
backend_1 | at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66) [spring-boot-autoconfigure-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1821) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1758) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:307) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at com.ceiba.todo.TodoListApp.main(TodoListApp.java:15) ~[classes!/:na]
backend_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
backend_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
backend_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
backend_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
backend_1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) ~[todo_backend-0.0.1-SNAPSHOT.jar:na]
backend_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) ~[todo_backend-0.0.1-SNAPSHOT.jar:na]
backend_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) ~[todo_backend-0.0.1-SNAPSHOT.jar:na]
backend_1 | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) ~[todo_backend-0.0.1-SNAPSHOT.jar:na]
backend_1 | Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_191]
backend_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_191]
backend_1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_191]
backend_1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_191]
backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:91) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:955) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | ... 43 common frames omitted
backend_1 | Caused by: java.net.ConnectException: Connection refused (Connection refused)
backend_1 | at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_191]
backend_1 | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_191]
backend_1 | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204) ~[na:1.8.0_191]
backend_1 | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_191]
backend_1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_191]
backend_1 | at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_191]
backend_1 | at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:155) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:65) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | ... 46 common frames omitted
backend_1 |
backend_1 | 2019-03-29 00:45:41.692 WARN 1 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.exception.FlywaySqlException:
backend_1 | Unable to obtain connection from database: Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
backend_1 | SQL State : 08S01
backend_1 | Error Code : 0
backend_1 | Message : Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 |
backend_1 | 2019-03-29 00:45:41.709 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
backend_1 | 2019-03-29 00:45:41.743 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
backend_1 | 2019-03-29 00:45:41.852 INFO 1 --- [ main] ConditionEvaluationReportLoggingListener :
backend_1 |
backend_1 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
backend_1 | 2019-03-29 00:45:41.883 ERROR 1 --- [ main] o.s.boot.SpringApplication : Application run failed
backend_1 |
backend_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.exception.FlywaySqlException:
backend_1 | Unable to obtain connection from database: Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
backend_1 | SQL State : 08S01
backend_1 | Error Code : 0
backend_1 | Message : Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 |
backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1762) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:307) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at com.ceiba.todo.TodoListApp.main(TodoListApp.java:15) [classes!/:na]
backend_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191]
backend_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191]
backend_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191]
backend_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191]
backend_1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [todo_backend-0.0.1-SNAPSHOT.jar:na]
backend_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [todo_backend-0.0.1-SNAPSHOT.jar:na]
backend_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [todo_backend-0.0.1-SNAPSHOT.jar:na]
backend_1 | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) [todo_backend-0.0.1-SNAPSHOT.jar:na]
backend_1 | Caused by: org.flywaydb.core.internal.exception.FlywaySqlException:
backend_1 | Unable to obtain connection from database: Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
backend_1 | SQL State : 08S01
backend_1 | Error Code : 0
backend_1 | Message : Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 |
backend_1 | at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:60) ~[flyway-core-5.2.4.jar!/:na]
backend_1 | at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:72) ~[flyway-core-5.2.4.jar!/:na]
backend_1 | at org.flywaydb.core.Flyway.execute(Flyway.java:1670) ~[flyway-core-5.2.4.jar!/:na]
backend_1 | at org.flywaydb.core.Flyway.migrate(Flyway.java:1356) ~[flyway-core-5.2.4.jar!/:na]
backend_1 | at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66) ~[spring-boot-autoconfigure-2.1.3.RELEASE.jar!/:2.1.3.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1821) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1758) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE]
backend_1 | ... 26 common frames omitted
backend_1 | Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 | at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:835) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:455) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:199) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[HikariCP-3.2.0.jar!/:na]
backend_1 | at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:56) ~[flyway-core-5.2.4.jar!/:na]
backend_1 | ... 32 common frames omitted
backend_1 | Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure
backend_1 |
backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
backend_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_191]
backend_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_191]
backend_1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_191]
backend_1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_191]
backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:91) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:955) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | ... 43 common frames omitted
backend_1 | Caused by: java.net.ConnectException: Connection refused (Connection refused)
backend_1 | at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_191]
backend_1 | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_191]
backend_1 | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204) ~[na:1.8.0_191]
backend_1 | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_191]
backend_1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_191]
backend_1 | at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_191]
backend_1 | at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:155) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:65) ~[mysql-connector-java-8.0.15.jar!/:8.0.15]
backend_1 | ... 46 common frames omitted
backend_1 |
Looks like this is something to do with MySQL. I haven't created or migrated a database, which might be the cause. How do I do that on my Mac machine?
Hi,
Please, follow the next steps.
[image: image.png]
Execute the command into backend folder. 'gradlew assemble' [image: image.png]
[image: image.png]
[image: image.png]
El jue., 28 mar. 2019 a las 19:47, Adam Gall (notifications@github.com) escribió:
I've been attempting to get this running on MacOS.
I've installed gradle and ran gradle bootJar. I was still getting an error as indicated in the original post of this issue.
Executing docker-compose up in the root directory gets further along this time, but the todoapp_backend_1 container keeps crashing with the following error stack trace:
backend_1 | backend1 | . ____ backend1 | /\ / '_ () _ \ \ \ \ backend1 | ( ( )\ | ' | '| | ' \/ ` | \ \ \ \ backend_1 | \/ )| |)| | | | | || (_| | ) ) ) ) backend_1 | ' |__| .|| ||| |__, | / / / / backend1 | =========||==============|_/=///_/ backend_1 | :: Spring Boot :: (v2.1.3.RELEASE) backend_1 | backend_1 | 2019-03-29 00:45:03.933 INFO 1 --- [ main] com.ceiba.todo.TodoListApp : Starting TodoListApp on 6053e0ebb9c0 with PID 1 (/home/app/todo_backend-0.0.1-SNAPSHOT.jar started by root in /home/app) backend_1 | 2019-03-29 00:45:03.991 INFO 1 --- [ main] com.ceiba.todo.TodoListApp : No active profile set, falling back to default profiles: default backend_1 | 2019-03-29 00:45:11.831 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data repositories in DEFAULT mode. backend_1 | 2019-03-29 00:45:12.270 INFO 1 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 405ms. Found 3 repository interfaces. backend_1 | 2019-03-29 00:45:17.856 INFO 1 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$e5698b2f] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) backend_1 | 2019-03-29 00:45:21.787 INFO 1 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http) backend_1 | 2019-03-29 00:45:22.158 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] backend_1 | 2019-03-29 00:45:22.196 INFO 1 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.16] backend_1 | 2019-03-29 00:45:22.397 INFO 1 --- [ main] 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: [/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64/server:/usr/lib/jvm/java-1.8-openjdk/jre/lib/amd64:/usr/lib/jvm/java-1.8-openjdk/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib] backend_1 | 2019-03-29 00:45:23.361 INFO 1 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext backend_1 | 2019-03-29 00:45:23.364 INFO 1 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 17939 ms backend_1 | 2019-03-29 00:45:30.521 INFO 1 --- [ main] org.dozer.config.GlobalSettings : Trying to find Dozer configuration file: dozer.properties backend_1 | 2019-03-29 00:45:30.800 WARN 1 --- [ main] org.dozer.config.GlobalSettings : Dozer configuration file not found: dozer.properties. Using defaults for all Dozer global properties. backend_1 | 2019-03-29 00:45:30.890 INFO 1 --- [ main] org.dozer.DozerInitializer : Initializing Dozer. Version: 5.5.0, Thread Name: main backend_1 | 2019-03-29 00:45:30.923 INFO 1 --- [ main] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerStatisticsController] auto registered with the Platform MBean Server backend_1 | 2019-03-29 00:45:30.961 INFO 1 --- [ main] org.dozer.jmx.JMXPlatformImpl : Dozer JMX MBean [org.dozer.jmx:type=DozerAdminController] auto registered with the Platform MBean Server backend_1 | 2019-03-29 00:45:31.009 INFO 1 --- [ main] org.dozer.DozerBeanMapper : Initializing a new instance of dozer bean mapper. backend_1 | 2019-03-29 00:45:33.209 INFO 1 --- [ main] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: any request, [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@71def8f8, org.springframework.security.web.context.SecurityContextPersistenceFilter@429bffaa, org.springframework.security.web.header.HeaderWriterFilter@10d307f1, org.springframework.security.web.authentication.logout.LogoutFilter@32b260fa, com.ceiba.todo.security.jwt.JwtTokenFilter@383bfa16, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@483f6d77, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@28f3b248, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4d465b11, org.springframework.security.web.session.SessionManagementFilter@3e84448c, org.springframework.security.web.access.ExceptionTranslationFilter@73700b80, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@3bf9ce3e] backend_1 | 2019-03-29 00:45:36.109 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' backend_1 | 2019-03-29 00:45:38.905 INFO 1 --- [ main] o.f.c.internal.license.VersionPrinter : Flyway Community Edition 5.2.4 by Boxfuse backend_1 | 2019-03-29 00:45:39.143 INFO 1 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... backend_1 | 2019-03-29 00:45:41.644 ERROR 1 --- [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Exception during pool initialization. backend_1 | backend_1 | com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:835) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.
(ConnectionImpl.java:455) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:199) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467) [HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541) [HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.HikariPool. (HikariPool.java:115) [HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) [HikariCP-3.2.0.jar!/:na] backend_1 | at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:56) [flyway-core-5.2.4.jar!/:na] backend_1 | at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:72) [flyway-core-5.2.4.jar!/:na] backend_1 | at org.flywaydb.core.Flyway.execute(Flyway.java:1670) [flyway-core-5.2.4.jar!/:na] backend_1 | at org.flywaydb.core.Flyway.migrate(Flyway.java:1356) [flyway-core-5.2.4.jar!/:na] backend_1 | at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66) [spring-boot-autoconfigure-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1821) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1758) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:307) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) [spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at com.ceiba.todo.TodoListApp.main(TodoListApp.java:15) ~[classes!/:na] backend_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191] backend_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191] backend_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191] backend_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191] backend_1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) ~[todo_backend-0.0.1-SNAPSHOT.jar:na] backend_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) ~[todo_backend-0.0.1-SNAPSHOT.jar:na] backend_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) ~[todo_backend-0.0.1-SNAPSHOT.jar:na] backend_1 | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) ~[todo_backend-0.0.1-SNAPSHOT.jar:na] backend_1 | Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_191] backend_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_191] backend_1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_191] backend_1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_191] backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:91) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:955) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | ... 43 common frames omitted backend_1 | Caused by: java.net.ConnectException: Connection refused (Connection refused) backend_1 | at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_191] backend_1 | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_191] backend_1 | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204) ~[na:1.8.0_191] backend_1 | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_191] backend_1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_191] backend_1 | at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_191] backend_1 | at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:155) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:65) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | ... 46 common frames omitted backend_1 | backend_1 | 2019-03-29 00:45:41.692 WARN 1 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.exception.FlywaySqlException: backend_1 | Unable to obtain connection from database: Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- backend_1 | SQL State : 08S01 backend_1 | Error Code : 0 backend_1 | Message : Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | backend_1 | 2019-03-29 00:45:41.709 INFO 1 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' backend_1 | 2019-03-29 00:45:41.743 INFO 1 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat] backend_1 | 2019-03-29 00:45:41.852 INFO 1 --- [ main] ConditionEvaluationReportLoggingListener : backend_1 | backend_1 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. backend_1 | 2019-03-29 00:45:41.883 ERROR 1 --- [ main] o.s.boot.SpringApplication : Application run failed backend_1 | backend_1 | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'flywayInitializer' defined in class path resource [org/springframework/boot/autoconfigure/flyway/FlywayAutoConfiguration$FlywayConfiguration.class]: Invocation of init method failed; nested exception is org.flywaydb.core.internal.exception.FlywaySqlException: backend_1 | Unable to obtain connection from database: Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- backend_1 | SQL State : 08S01 backend_1 | Error Code : 0 backend_1 | Message : Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1762) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:593) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:515) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:320) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:318) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:307) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:199) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:849) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:877) ~[spring-context-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549) ~[spring-context-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142) ~[spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:316) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248) [spring-boot-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at com.ceiba.todo.TodoListApp.main(TodoListApp.java:15) [classes!/:na] backend_1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_191] backend_1 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_191] backend_1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_191] backend_1 | at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_191] backend_1 | at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [todo_backend-0.0.1-SNAPSHOT.jar:na] backend_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [todo_backend-0.0.1-SNAPSHOT.jar:na] backend_1 | at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [todo_backend-0.0.1-SNAPSHOT.jar:na] backend_1 | at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51) [todo_backend-0.0.1-SNAPSHOT.jar:na] backend_1 | Caused by: org.flywaydb.core.internal.exception.FlywaySqlException: backend_1 | Unable to obtain connection from database: Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- backend_1 | SQL State : 08S01 backend_1 | Error Code : 0 backend_1 | Message : Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | backend_1 | at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:60) ~[flyway-core-5.2.4.jar!/:na] backend_1 | at org.flywaydb.core.internal.database.DatabaseFactory.createDatabase(DatabaseFactory.java:72) ~[flyway-core-5.2.4.jar!/:na] backend_1 | at org.flywaydb.core.Flyway.execute(Flyway.java:1670) ~[flyway-core-5.2.4.jar!/:na] backend_1 | at org.flywaydb.core.Flyway.migrate(Flyway.java:1356) ~[flyway-core-5.2.4.jar!/:na] backend_1 | at org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer.afterPropertiesSet(FlywayMigrationInitializer.java:66) ~[spring-boot-autoconfigure-2.1.3.RELEASE.jar!/:2.1.3.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1821) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1758) ~[spring-beans-5.1.5.RELEASE.jar!/:5.1.5.RELEASE] backend_1 | ... 26 common frames omitted backend_1 | Caused by: com.mysql.cj.jdbc.exceptions.CommunicationsException: Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | at com.mysql.cj.jdbc.exceptions.SQLError.createCommunicationsException(SQLError.java:174) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:64) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:835) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl. (ConnectionImpl.java:455) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:199) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:136) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:369) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:198) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:467) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:541) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.pool.HikariPool. (HikariPool.java:115) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) ~[HikariCP-3.2.0.jar!/:na] backend_1 | at org.flywaydb.core.internal.jdbc.JdbcUtils.openConnection(JdbcUtils.java:56) ~[flyway-core-5.2.4.jar!/:na] backend_1 | ... 32 common frames omitted backend_1 | Caused by: com.mysql.cj.exceptions.CJCommunicationsException: Communications link failure backend_1 | backend_1 | The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. backend_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[na:1.8.0_191] backend_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[na:1.8.0_191] backend_1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[na:1.8.0_191] backend_1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[na:1.8.0_191] backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:105) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:151) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.exceptions.ExceptionFactory.createCommunicationsException(ExceptionFactory.java:167) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:91) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.NativeSession.connect(NativeSession.java:152) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:955) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:825) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | ... 43 common frames omitted backend_1 | Caused by: java.net.ConnectException: Connection refused (Connection refused) backend_1 | at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_191] backend_1 | at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_191] backend_1 | at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:204) ~[na:1.8.0_191] backend_1 | at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_191] backend_1 | at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_191] backend_1 | at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_191] backend_1 | at com.mysql.cj.protocol.StandardSocketFactory.connect(StandardSocketFactory.java:155) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | at com.mysql.cj.protocol.a.NativeSocketConnection.connect(NativeSocketConnection.java:65) ~[mysql-connector-java-8.0.15.jar!/:8.0.15] backend_1 | ... 46 common frames omitted backend_1 | Looks like this is something to do with MySQL. I haven't created or migrated a database, which might be the cause. How do I do that on my Mac machine?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ceibasoftware/todoapp/issues/1#issuecomment-477822993, or mute the thread https://github.com/notifications/unsubscribe-auth/AbaJm5XH4EkF2rKwG8bT5RETYOhSL-M_ks5vbWKlgaJpZM4cKpmP .
--
Cl 8 B 65 - 191 Of 409 https://www.google.com/maps/place/Ceiba+Software/@6.2152809,-75.5873189,355m/data=!3m1!1e3!4m2!3m1!1s0x0000000000000000:0x95885d68890e7b2c, Centro Empresarial Puertoseco - Medellín, Colombia Visite nuestro sitio www.ceiba.co Facebook https://www.facebook.com/CeibaSoftware | Twitter https://twitter.com/CeibaSoftware | Youtube http://www.youtube.com/user/ceibasw | Linkedin http://www.linkedin.com/company/ceiba-software-house
--
Este mensaje, incluido su adjunto, es confidencial y puede ser privilegiado. Si usted no es su destinatario, por favor notifique al emisor, luego destruya la comunicación y todas las copias. Usted no debe copiar, distribuir y/o revelar esta comunicación parcial o totalmente sin autorización del emisor. This message, including attachments, is confidential and may be privileged. If you are not an intended recipient, please notify the sender then delete and destroy the original message and all copies. You should not copy, forward and/or disclose this message, in whole or in part, without permission of the sender.
hi @germanr6, the images in the above post didn't load
Hi @adamgall,
Please, follow the next steps.
Download all with this command 'git clone --recursive -j8 https://github.com/ceibasoftware/todoapp.git'
Execute the command into backend folder. 'gradlew assemble'
$ docker-compose up Creating network "todoapp_default" with the default driver Pulling mysql (mysql:)... f7e2b70d04ae: Pull complete df7f6307ff0a: Pull complete e29ed02b1013: Pull complete 9cb929db392c: Pull complete 42cc77b24286: Pull complete a6d57750cc73: Pull complete 79510826e343: Pull complete 0bff56f688ad: Pull complete b7900ad0eff9: Pull complete 9ffa71cbd4ba: Pull complete 3d744b02cc8e: Pull complete 75b0db54e16c: Pull complete Building backend Step 1/6 : FROM openjdk:8-jdk-alpine 8-jdk-alpine: Pulling from library/openjdk 8e402f1a9c57: Pull complete 4866c822999c: Pull complete a5e04b7d13ab: Pull complete Digest: sha256:d2e2716147d1f7fe73b1a9f72a9cff7a7aa92d32eb8de4fffbfddc596e004984 Status: Downloaded newer image for openjdk:8-jdk-alpine ---> e9ea51023687 Step 2/6 : VOLUME /tmp ---> Running in 5f891f6903d9 Removing intermediate container 5f891f6903d9 ---> 33a1cdffc6f5 Step 3/6 : RUN adduser --disabled-password --gecos '' app ---> Running in 90ca4b3f368d Removing intermediate container 90ca4b3f368d ---> 0ac7d3584f3a Step 4/6 : WORKDIR /home/app ---> Running in 562aca131984 Removing intermediate container 562aca131984 ---> b6cf114628fc Step 5/6 : COPY ./build/libs/todo-demo-0.1.0.jar /home/app/todo-demo-0.1.0.jar ERROR: Service 'backend' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder064754341/build/libs/todo-demo-0.1.0.jar: no such file or directory