tory.NoSuchBeanDefinitionException: No bean named 'liferayTransactionManager' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef ­erence(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal ­ueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app ­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop ­ulateBean(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC ­reateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre ­ateBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra ­ctBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle ­ton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract ­BeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe ­anFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti ­ateSingletons(DefaultListableBeanFactory.java:575) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactory ­Initialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA ­pplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(Contex ­tLoader.java:276) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextL ­oader.java:197) at org.springframework.web.context.ContextLoaderListener.contextInitialized(Context ­LoaderListener.java:47) at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialize ­d(PortletContextLoaderListener.java:71) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPort ­alInit(PortalClassLoaderServletContextListener.java:91) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycl ­e.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil. ­java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BaseP ­ortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contex ­tInitialized(PortalClassLoaderServletContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972 ­)

liferay.com | 4 months ago
  1. 0

    Connect to a Database with Plugins SDK - Wiki | Liferay

    liferay.com | 1 year ago
    tory.NoSuchBeanDefinitionException: No bean named 'liferayTransactionManager' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef ­erence(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal ­ueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app ­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop ­ulateBean(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC ­reateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre ­ateBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra ­ctBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle ­ton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract ­BeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe ­anFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti ­ateSingletons(DefaultListableBeanFactory.java:575) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactory ­Initialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA ­pplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(Contex ­tLoader.java:276) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextL ­oader.java:197) at org.springframework.web.context.ContextLoaderListener.contextInitialized(Context ­LoaderListener.java:47) at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialize ­d(PortletContextLoaderListener.java:71) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPort ­alInit(PortalClassLoaderServletContextListener.java:91) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycl ­e.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil. ­java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BaseP ­ortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contex ­tInitialized(PortalClassLoaderServletContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972 ­)
  2. 0

    Connect to a Database with Plugins SDK - Wiki | Liferay

    liferay.com | 8 months ago
    tory.NoSuchBeanDefinitionException: No bean named 'liferayTransactionManager' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef ­erence(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal ­ueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app ­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop ­ulateBean(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC ­reateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre ­ateBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra ­ctBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle ­ton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract ­BeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe ­anFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti ­ateSingletons(DefaultListableBeanFactory.java:575) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactory ­Initialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA ­pplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(Contex ­tLoader.java:276) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextL ­oader.java:197) at org.springframework.web.context.ContextLoaderListener.contextInitialized(Context ­LoaderListener.java:47) at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialize ­d(PortletContextLoaderListener.java:71) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPort ­alInit(PortalClassLoaderServletContextListener.java:91) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycl ­e.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil. ­java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BaseP ­ortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contex ­tInitialized(PortalClassLoaderServletContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972 ­)
  3. 0

    Connect to a Database with Plugins SDK - Wiki | Liferay

    liferay.com | 5 months ago
    tory.NoSuchBeanDefinitionException: No bean named 'liferayTransactionManager' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef ­erence(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal ­ueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app ­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop ­ulateBean(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC ­reateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre ­ateBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra ­ctBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle ­ton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract ­BeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe ­anFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti ­ateSingletons(DefaultListableBeanFactory.java:575) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactory ­Initialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA ­pplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(Contex ­tLoader.java:276) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextL ­oader.java:197) at org.springframework.web.context.ContextLoaderListener.contextInitialized(Context ­LoaderListener.java:47) at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialize ­d(PortletContextLoaderListener.java:71) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPort ­alInit(PortalClassLoaderServletContextListener.java:91) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycl ­e.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil. ­java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BaseP ­ortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contex ­tInitialized(PortalClassLoaderServletContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972 ­)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Connect to a Database with Plugins SDK - Wiki

    liferay.com | 4 months ago
    tory.NoSuchBeanDefinitionException: No bean named 'liferayTransactionManager' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef ­erence(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal ­ueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app ­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop ­ulateBean(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC ­reateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre ­ateBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra ­ctBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle ­ton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract ­BeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe ­anFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti ­ateSingletons(DefaultListableBeanFactory.java:575) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactory ­Initialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA ­pplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(Contex ­tLoader.java:276) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextL ­oader.java:197) at org.springframework.web.context.ContextLoaderListener.contextInitialized(Context ­LoaderListener.java:47) at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialize ­d(PortletContextLoaderListener.java:71) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPort ­alInit(PortalClassLoaderServletContextListener.java:91) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycl ­e.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil. ­java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BaseP ­ortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contex ­tInitialized(PortalClassLoaderServletContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972 ­)

    Root Cause Analysis

    1. tory.NoSuchBeanDefinitionException

      No bean named 'liferayTransactionManager' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveRef ­erence(BeanDefinitionValueResolver.java:328) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveVal ­ueIfNecessary(BeanDefinitionValueResolver.java:106) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.app ­lyPropertyValues(AbstractAutowireCapableBeanFactory.java:1317) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.pop ­ulateBean(AbstractAutowireCapableBeanFactory.java:1076) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doC ­reateBean(AbstractAutowireCapableBeanFactory.java:517) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.cre ­ateBean(AbstractAutowireCapableBeanFactory.java:456) at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(Abstra ­ctBeanFactory.java:291) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingle ­ton(DefaultSingletonBeanRegistry.java:222) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(Abstract ­BeanFactory.java:288) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBe ­anFactory.java:190) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstanti ­ateSingletons(DefaultListableBeanFactory.java:575) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactory ­Initialization(AbstractApplicationContext.java:895) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractA ­pplicationContext.java:425) at org.springframework.web.context.ContextLoader.createWebApplicationContext(Contex ­tLoader.java:276) at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextL ­oader.java:197) at org.springframework.web.context.ContextLoaderListener.contextInitialized(Context ­LoaderListener.java:47) at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialize ­d(PortletContextLoaderListener.java:71) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPort ­alInit(PortalClassLoaderServletContextListener.java:91) at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycl ­e.java:42) at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil. ­java:52) at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BaseP ­ortalLifecycle.java:50) at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contex ­tInitialized(PortalClassLoaderServletContextListener.java:52) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3972 ­)

      at org.apache.catalina.core.StandardContext.start()
    2. Glassfish Core
      HostConfig.lifecycleEvent
      1. org.apache.catalina.core.StandardContext.start(StandardContext.java:4467)
      2. org.apache.catalina.startup.HostConfig.checkResources(HostConfig.java:1244)
      3. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1342)
      4. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)
      4 frames