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

org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'defaultEntityManagerFactory'
is defined	at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanDefinition(DefaultListableBeanFactory.java:638)	at org.springframework.data.jpa.repository.support.EntityManagerBeanDefinitionRegistrarPostProcessor.postProcessBeanFactory(EntityManagerBeanDefinitionRegistrarPostProcessor.java:71)	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:265)	at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:177)	at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:609)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:464)	at org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:643)	at org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:512)	at org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:466)	at org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)	at javax.servlet.GenericServlet.init(GenericServlet.java:244)	at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:532)	at org.eclipse.jetty.servlet.ServletHolder.doStart(ServletHolder.java:344)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:791)	at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:265)	at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1242)	at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:717)	at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:494)	at org.mortbay.jetty.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:298)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)	at org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:172)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.server.handler.HandlerCollection.doStart(HandlerCollection.java:229)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:95)	at org.eclipse.jetty.server.Server.doStart(Server.java:282)	at org.mortbay.jetty.plugin.JettyServer.doStart(JettyServer.java:65)	at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:64)	at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:520)	at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:365)	at org.mortbay.jetty.plugin.JettyRunMojo.execute(JettyRunMojo.java:523)	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)	at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:318)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153)	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:606)	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:414)	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:357)