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

Samebug tips

  1. ,
    via Stack Overflow by dereck

    Add localDataSource="true" to the realm when using local database.

  2. ,
    via Stack Overflow by john

    Make sure you use the same name for your database everywhere in context.xml.

Solutions on the web

via GitHub by graemerocher
, 2 years ago
Error creating bean with name 'filterInvocationInterceptor': Cannot resolve reference to bean 'objectDefinitionSource' while setting bean property 'objectDefinitionSource'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'objectDefinitionSource' is defined
via Stack Overflow by Asaf
, 2 years ago
Error creating bean with name 'upaySite': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name upaySite is not bound in this Context
via Stack Overflow by bitbucket
, 2 years ago
Error creating bean with name 'compassGps': Cannot resolve reference to bean 'compass' while setting bean property 'compass'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'compass
via nabble.com by Unknown author, 1 year ago
property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource': Invocation of init method failed; nested exception is javax.naming.NameNotFoundException: Name jdbc is not bound in this Context
via Stack Overflow by pri_dev
, 2 years ago
'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.PropertyNotFoundException: Could not find a setter for property nameAttribute in class com.gra.register.User
via GitHub by robertoschwald
, 2 years ago
'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory': Invocation of init method failed; nested exception is org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
javax.naming.NameNotFoundException: Name jdbc is not bound in this Context	at org.apache.naming.NamingContext.lookup(NamingContext.java:770)	at org.apache.naming.NamingContext.lookup(NamingContext.java:140)	at org.apache.naming.NamingContext.lookup(NamingContext.java:781)	at org.apache.naming.NamingContext.lookup(NamingContext.java:140)	at org.apache.naming.NamingContext.lookup(NamingContext.java:781)	at org.apache.naming.NamingContext.lookup(NamingContext.java:153)	at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)	at javax.naming.InitialContext.lookup(InitialContext.java:392)	at org.grails.tomcat.TomcatServer.start(TomcatServer.groovy:135)	at grails.web.container.EmbeddableServer$start$0.call(Unknown Source)	at _GrailsRun_groovy$_run_closure5_closure12.doCall(_GrailsRun_groovy:158)	at _GrailsRun_groovy$_run_closure5_closure12.doCall(_GrailsRun_groovy)	at _GrailsSettings_groovy$_run_closure10.doCall(_GrailsSettings_groovy:287)	at _GrailsSettings_groovy$_run_closure10.call(_GrailsSettings_groovy)	at _GrailsRun_groovy$_run_closure5.doCall(_GrailsRun_groovy:149)	at _GrailsRun_groovy$_run_closure5.call(_GrailsRun_groovy)	at _GrailsRun_groovy.runInline(_GrailsRun_groovy:115)	at _GrailsRun_groovy.this$4$runInline(_GrailsRun_groovy)	at _GrailsRun_groovy$_run_closure1.doCall(_GrailsRun_groovy:59)	at _GrailsRun_groovy$_run_closure8_closure14.doCall(_GrailsRun_groovy:257)	at _GrailsRun_groovy$_run_closure8_closure14.doCall(_GrailsRun_groovy)	at _GrailsPackage_groovy$_run_closure8.doCall(_GrailsPackage_groovy:293)	at _GrailsPackage_groovy$_run_closure8.call(_GrailsPackage_groovy)	at _GrailsRun_groovy$_run_closure8.doCall(_GrailsRun_groovy:242)	at RunApp$_run_closure1.doCall(RunApp.groovy:35)	at gant.Gant$_dispatch_closure4.doCall(Gant.groovy:324)	at gant.Gant$_dispatch_closure6.doCall(Gant.groovy:334)	at gant.Gant$_dispatch_closure6.doCall(Gant.groovy)	at gant.Gant.withBuildListeners(Gant.groovy:344)	at gant.Gant.this$2$withBuildListeners(Gant.groovy)	at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)	at gant.Gant.dispatch(Gant.groovy:334)	at gant.Gant.this$2$dispatch(Gant.groovy)	at gant.Gant.invokeMethod(Gant.groovy)	at gant.Gant.processTargets(Gant.groovy:495)	at gant.Gant.processTargets(Gant.groovy:480)