Код: Выделить всё
version: "3"
services:
server:
platform: linux/amd64
image: mysql:8.0.23
---
client:
platform: linux/amd64
image: mysql:8.0.23
---
Код: Выделить всё
***************************
APPLICATION FAILED TO START
***************************
Description:
Parameter 1 of method dataSource in org.springframework.boot.autoconfigure.jdbc.DataSourceConfiguration$Hikari required a single bean, but 2 were found:
- jdbcConnectionDetailsForClient_database: defined in unknown location
- jdbcConnectionDetailsForServer_database: defined in unknown location
This may be due to missing parameter name information
Action:
Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed
Подробнее здесь: https://stackoverflow.com/questions/781 ... base-servi
Мобильная версия