spring-boot configure hibernate-ogm for MongoDB -
application failed start
description:
cannot determine embedded database driver class database type none
action:
if want embedded database please put supported 1 on classpath. if have database settings loaded particular profile may need active (the profiles "local" active).
2016-11-10 18:36:52.335 error 1288 --- [ main] o.s.test.context.testcontextmanager : caught exception while allowing testexecutionlistener [org.springframework.test.context.web.servlettestexecutionlistener@d83da2e] prepare test instance [com.example.demoapplicationtests@1f68e4e8]
java.lang.illegalstateexception: failed load applicationcontext @ org.springframework.test.context.cache.defaultcacheawarecontextloaderdelegate.loadcontext(defaultcacheawarecontextloaderdelegate.java:124) ~[spring-test-4.3.4.release.jar:4.3.4.release] @ org.springframework.test.context.support.defaulttestcontext.getapplicationcontext(defaulttestcontext.java:83) ~[spring-test-4.3.4.release.jar:4.3.4.release]
Comments
Post a Comment