ElinaValieva/spring-microservices

Having problems in starting the services.

musaabshirgar1 opened this issue · 0 comments

After writing docker-compose up in command line, all the services are starting properly but then after a few seconds, all the services show an "APPLICATION FAILED TO START" error. One of the error is shown below:

order_1 | ***************************
order_1 | APPLICATION FAILED TO START
order_1 | ***************************
order_1 |
order_1 | Description:
order_1 |
order_1 | Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
order_1 |
order_1 | Reason: Failed to determine a suitable driver class
order_1 |
order_1 |
order_1 | Action:
order_1 |
order_1 | Consider the following:
order_1 | If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
order_1 | If you have database settings to be loaded from a particular profile you may need to activate it (the profiles prod are currently active).
order_1 |
order_1 | OpenJDK 64-Bit Server VM warning: Option InitialRAMFraction was deprecated in version 10.0 and will likely be removed in a future release.
order_1 | OpenJDK 64-Bit Server VM warning: Option MinRAMFraction was deprecated in version 10.0 and will likely be removed in a future release.
order_1 | OpenJDK 64-Bit Server VM warning: Option MaxRAMFraction was deprecated in version 10.0 and will likely be removed in a future release.

can you state what may be the reason for this?