Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by user3034559
, 1 year ago
Database name must not be empty
via Stack Overflow by Darshan Patil
, 2 years ago
via Stack Overflow by FGreg
, 2 years ago
via Oracle Community by beyourbest, 1 year ago
Driver name cannot be empty
via GitHub by ericbottard
, 1 year ago
name must not be empty nor null
via Oracle Community by user8819264, 1 year ago
Driver name cannot be empty
java.lang.IllegalArgumentException: Database name must not be empty	at org.springframework.util.Assert.hasText(Assert.java:168)	at org.springframework.data.mongodb.core.SimpleMongoDbFactory.(SimpleMongoDbFactory.java:142)	at org.springframework.data.mongodb.core.SimpleMongoDbFactory.(SimpleMongoDbFactory.java:93)	at org.springframework.data.mongodb.config.AbstractMongoConfiguration.mongoDbFactory(AbstractMongoConfiguration.java:114)	at com.xx.cloud.demo.config.DatabaseConfiguration$$EnhancerBySpringCGLIB$$65a29278.CGLIB$mongoDbFactory$6()	at com.xx.cloud.demo.config.DatabaseConfiguration$$EnhancerBySpringCGLIB$$65a29278$$FastClassBySpringCGLIB$$7563f63.invoke()	at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228)	at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:356)	at com.xx.cloud.demo.config.DatabaseConfiguration$$EnhancerBySpringCGLIB$$65a29278.mongoDbFactory()	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:498)	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162)