Open pradithya opened 6 years ago
This is an error due to auto-configuration failure - Spring Boot did not configure JPA for you. I do not get this when I run the code.
I have just upgraded the application to use a later version of Spring Boot - please try again.
Encountered "Error creating bean with name 'entityManagerFactory' defined in class path resource " while launching
java -jar microservices-demo-1.1.0.RELEASE.jar registration
. This error however is not triggered while launching from IDE.Related to https://github.com/spring-projects/spring-boot/issues/6635 and is fixable by upgrading spring boot version to 1.4.1
Environment:
IntelliJ IDEA 2017.3.3 (Community Edition) Build #IC-173.4301.25, built on January 16, 2018 JRE: 1.8.0_152-release-1024-b11 amd64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Windows 10 10.0 Gradle 4.0
Stack Trace