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 Spring JIRA by Stephen Duncan Jr, 1 year ago
This exception has no message.
via Spring JIRA by Stephen Duncan Jr, 2 years ago
This exception has no message.
net.sf.hibernate.HibernateException: No local DataSource found for configuration - dataSource property must be set on LocalSessionFactoryBean	at org.springframework.orm.hibernate.LocalDataSourceConnectionProvider.configure(LocalDataSourceConnectionProvider.java:48)	at net.sf.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:83)	at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:65)	at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1155)	at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:789)	at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:543)	at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:477)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1059)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:363)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:176)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:105)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1013)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBeanDefinition(BeanDefinitionValueResolver.java:147)	at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:96)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1013)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:824)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:345)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:226)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:147)	at mil.jfcom.cie.directorymanagement.service.DirectoryManagementServiceImpl.init(DirectoryManagementServiceImpl.java:109)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.springframework.util.MethodInvoker.invoke(MethodInvoker.java:248)	at mil.jfcom.cie.portal.MethodInvokingBeforeAdvice.before(MethodInvokingBeforeAdvice.java:38)	at org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)	at $Proxy0.getUser(Unknown Source)	at mil.jfcom.cie.portal.troubletickets.service.ServiceImpl.getUser(ServiceImpl.java:345)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:585)	at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:335)	at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)	at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)	at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)	at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)	at $Proxy1.getUser(Unknown Source)	at mil.jfcom.cie.portal.troubletickets.handler.AbstractHandler.getUser(AbstractHandler.java:106)	at mil.jfcom.cie.portal.troubletickets.handler.response.LoadUserInfo.prepareResponse(LoadUserInfo.java:28)	at mil.jfcom.cie.portal.framework.FrameworkPortlet.runResponseHandler(FrameworkPortlet.java:394)	at mil.jfcom.cie.portal.framework.FrameworkPortlet.doRender(FrameworkPortlet.java:305)	at mil.jfcom.cie.portal.framework.FrameworkPortlet.doView(FrameworkPortlet.java:118)	at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:247)	at javax.portlet.GenericPortlet.render(GenericPortlet.java:175)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody8(PortletApplicationHandler.java:226)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody9$advice(PortletApplicationHandler.java:458)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody10(PortletApplicationHandler.java)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody11$advice(PortletApplicationHandler.java:340)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody12(PortletApplicationHandler.java)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody13$advice(PortletApplicationHandler.java:172)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody14(PortletApplicationHandler.java)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody15$advice(PortletApplicationHandler.java:738)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody16(PortletApplicationHandler.java)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.render_aroundBody17$advice(PortletApplicationHandler.java:628)	at org.exoplatform.services.portletcontainer.impl.PortletApplicationHandler.process(PortletApplicationHandler.java:226)	at org.exoplatform.services.portletcontainer.impl.servlet.ServletWrapper.service(ServletWrapper.java:70)	at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)	at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:590)	at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:510)	at org.exoplatform.services.portletcontainer.impl.PortletContainerDispatcher.dispatch(PortletContainerDispatcher.java:370)	at org.exoplatform.services.portletcontainer.impl.PortletContainerDispatcher.process(PortletContainerDispatcher.java:310)	at org.exoplatform.services.portletcontainer.impl.PortletContainerDispatcher.render(PortletContainerDispatcher.java:271)	at org.exoplatform.services.portletcontainer.impl.PortletContainerServiceImpl.render(PortletContainerServiceImpl.java:144)	at org.exoplatform.portal.faces.renderer.html.portlet.PortletRenderer.encodeChildren(PortletRenderer.java:100)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at org.exoplatform.portal.faces.renderer.html.page.PageRowRenderer.renderViewMode(PageRowRenderer.java:50)	at org.exoplatform.portal.faces.renderer.html.page.PageRenderer.encodeChildren(PageRenderer.java:28)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at org.exoplatform.faces.core.renderer.html.ChildrenRenderer.encodeChildren(ChildrenRenderer.java:27)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at org.exoplatform.portal.faces.renderer.html.container.ContainerRowRenderer.renderViewMode(ContainerRowRenderer.java:40)	at org.exoplatform.portal.faces.renderer.html.container.ContainerRenderer.encodeChildren(ContainerRenderer.java:36)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at org.exoplatform.portal.faces.renderer.html.container.ContainerRowRenderer.renderViewMode(ContainerRowRenderer.java:40)	at org.exoplatform.portal.faces.renderer.html.container.ContainerRenderer.encodeChildren(ContainerRenderer.java:36)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at org.exoplatform.portal.faces.renderer.html.container.ContainerColumnRenderer.renderViewMode(ContainerColumnRenderer.java:40)	at org.exoplatform.portal.faces.renderer.html.container.ContainerRenderer.encodeChildren(ContainerRenderer.java:36)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at org.exoplatform.portal.faces.renderer.html.container.ContainerRowRenderer.renderViewMode(ContainerRowRenderer.java:40)	at org.exoplatform.portal.faces.renderer.html.container.ContainerRenderer.encodeChildren(ContainerRenderer.java:36)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at org.exoplatform.faces.core.renderer.html.HtmlBasicRenderer.renderChildren(HtmlBasicRenderer.java:63)	at org.exoplatform.portal.faces.renderer.html.portal.PortalRenderer.encodeChildren(PortalRenderer.java:58)	at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:693)	at org.exoplatform.portal.faces.application.ExoPortalViewHandler.renderView(ExoPortalViewHandler.java:63)	at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)	at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)	at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)	at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.exoplatform.portal.filter.PrivateRequestFilter.doFilter(PrivateRequestFilter.java:82)	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:540)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.apache.catalina.authenticator.SingleSignOn.invoke(SingleSignOn.java:444)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)	at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)	at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)	at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)	at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)	at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)	at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)	at java.lang.Thread.run(Thread.java:595)