even If I remove all the configuration in the .yml I still get the error
fabricio
01/24/2018, 9:14 PM
I downloaded the proj at home and by removing all the configuration I get the same error. If I comment out all mysql configs I get the error too.
m
Marcelus Trojahn
01/25/2018, 11:11 AM
I just downloaded your project and did a test on 1.2.10, 1.2.20 and 1.2.21... All of them give me the "Cannot determine embedded database driver class for database type NONE" if the MySQL portion of the application.yml is commented out.
Marcelus Trojahn
01/25/2018, 11:19 AM
One thing you probably don't need in your POM is the "spring-boot-starter-data-jpa" because the mongodb starter one will pull that anyway... Commenting it out actually made Spring properly map the mongodb database and the code now stops trying to connect to the server for me.
👍 1
Marcelus Trojahn
01/25/2018, 11:22 AM
But then again... Since you have 2 different datasources, you might need to configure them programatically because one of then needs to be set as @Primary and I don't know if you can do that via application.yml.