org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.pentaho.platform.security.policy.rolebased.actions.RepositoryReadAction #0' is defined

Pentaho BI Platform Tracking | Ramaiz Mansoor | 3 years ago
  1. 0

    I tried to pass in the list of AuthorizationAction within the AuthorizationActionResource bean within pentahoServices.spring.xml and during the startup got the error below eb 13, 2014 11:24:36 AM com.sun.jersey.server.impl.application.WebApplicationImpl _handleRequest SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.pentaho.platform.web.http.api.resources.AuthorizationActionResource#0' defined in file [C:\build\biserver-ee -TRUNK-SNAPSHOT-b2147\biserver-ee\pentaho-solutions\system\pentahoServices.spring.xml]: Cannot create inner bean 'pen:list#6abc8b4f' of type [org.pentaho.platform.engine.core.system.objfac.spring.Bean ListBuilder] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:list#6abc8b4f': FactoryBean threw excep tion on object creation; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.pentaho.platform.security.policy.rolebased.actions.RepositoryReadAction #0' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:302) at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:884) at com.sun.jersey.spi.spring.container.SpringComponentProviderFactory$SpringManagedComponentProvider.getInstance(SpringComponentProviderFactory.java:236) at com.sun.jersey.server.impl.component.IoCResourceFactory$PerRequestWrapper.getInstance(IoCResourceFactory.java:150) at com.sun.jersey.server.impl.application.WebApplicationContext.getResource(WebApplicationContext.java:238) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:83) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRu le.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationIm pl.java:1511) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationIm pl.java:1442) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImp l.java:1391) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImp l.java:1381)

    Pentaho BI Platform Tracking | 3 years ago | Ramaiz Mansoor
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.pentaho.platform.security.policy.rolebased.actions.RepositoryReadAction #0' is defined
  2. 0

    I tried to pass in the list of AuthorizationAction within the AuthorizationActionResource bean within pentahoServices.spring.xml and during the startup got the error below eb 13, 2014 11:24:36 AM com.sun.jersey.server.impl.application.WebApplicationImpl _handleRequest SEVERE: The RuntimeException could not be mapped to a response, re-throwing to the HTTP container org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.pentaho.platform.web.http.api.resources.AuthorizationActionResource#0' defined in file [C:\build\biserver-ee -TRUNK-SNAPSHOT-b2147\biserver-ee\pentaho-solutions\system\pentahoServices.spring.xml]: Cannot create inner bean 'pen:list#6abc8b4f' of type [org.pentaho.platform.engine.core.system.objfac.spring.Bean ListBuilder] while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pen:list#6abc8b4f': FactoryBean threw excep tion on object creation; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.pentaho.platform.security.policy.rolebased.actions.RepositoryReadAction #0' is defined at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117) at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495) at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409) at java.security.AccessController.doPrivileged(Native Method) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380) at org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:302) at org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:884) at com.sun.jersey.spi.spring.container.SpringComponentProviderFactory$SpringManagedComponentProvider.getInstance(SpringComponentProviderFactory.java:236) at com.sun.jersey.server.impl.component.IoCResourceFactory$PerRequestWrapper.getInstance(IoCResourceFactory.java:150) at com.sun.jersey.server.impl.application.WebApplicationContext.getResource(WebApplicationContext.java:238) at com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:83) at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147) at com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRu le.java:84) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationIm pl.java:1511) at com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationIm pl.java:1442) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImp l.java:1391) at com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImp l.java:1381)

    Pentaho BI Platform Tracking | 3 years ago | Ramaiz Mansoor
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.pentaho.platform.security.policy.rolebased.actions.RepositoryReadAction #0' is defined
  3. 0

    JSF + SPRING

    Google Groups | 8 years ago | Anderson Matos Bonavides
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'usuario' is defined
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    No unique bean of type RubyLocatorServiceFactory

    GitHub | 4 years ago | inka
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [au.id.wolfe.bambo o.ruby.locator.RubyLocatorServiceFactory] is defined: Unsatisfied dependency of type [class au.id.wolfe.bamboo.ruby.locator.RubyLocatorServiceFactory]: expected at least 1 matching bean
  6. 0

    Error creating bean with name 'userService' defined in class path resource [beans.xml]: Unsatisfied dependency expressed through - 拨云剑

    boyunjian.com | 8 months ago
    org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [inspur.democreen.dao.UserDAO] is defined: expected single matching bean but found 2: [userDAO, userDAO2]  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByType(AbstractAutowireCapableBeanFactory.java:1091)

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.springframework.beans.factory.NoSuchBeanDefinitionException

      No bean named 'org.pentaho.platform.security.policy.rolebased.actions.RepositoryReadAction #0' is defined

      at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean()
    2. Spring Beans
      AbstractAutowireCapableBeanFactory$1.run
      1. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)
      2. org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)
      3. org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)
      4. org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)
      5. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
      6. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
      7. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
      8. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
      8 frames
    3. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    4. Spring Beans
      AbstractBeanFactory$2.getObject
      1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
      2. org.springframework.beans.factory.support.AbstractBeanFactory$2.getObject(AbstractBeanFactory.java:302)
      2 frames
    5. Spring
      AbstractRequestAttributesScope.get
      1. org.springframework.web.context.request.AbstractRequestAttributesScope.get(AbstractRequestAttributesScope.java:43)
      1 frame
    6. Spring Beans
      AbstractBeanFactory.getBean
      1. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
      2. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      3. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)
      3 frames
    7. Spring Context
      AbstractApplicationContext.getBean
      1. org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:884)
      1 frame
    8. jersey-spring
      SpringComponentProviderFactory$SpringManagedComponentProvider.getInstance
      1. com.sun.jersey.spi.spring.container.SpringComponentProviderFactory$SpringManagedComponentProvider.getInstance(SpringComponentProviderFactory.java:236)
      1 frame
    9. Jersey
      WebApplicationContext.getResource
      1. com.sun.jersey.server.impl.component.IoCResourceFactory$PerRequestWrapper.getInstance(IoCResourceFactory.java:150)
      2. com.sun.jersey.server.impl.application.WebApplicationContext.getResource(WebApplicationContext.java:238)
      2 frames