org.springframework.beans.factory.BeanCreationException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

Typo in the name of the bean in the beans.xml

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • start faild
    via GitHub by zhongyang0316
    ,
  • GraphBuilder Error
    via GitHub by sfaisol
    ,
    • org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.scripting.ScriptingImpl' defined in class path resource [META-INF/scripting-spring.xml]: Cannot create inner bean 'com.liferay.portal.scripting.ruby.RubyExecutor#d0f59e' of type [com.liferay.portal.scripting.ruby.RubyExecutor] while setting bean property 'scriptingExecutors' with key [TypedStringValue: value , target type ]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.scripting.ruby.RubyExecutor#d0f59e' defined in class path resource [META-INF/scripting-spring.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.liferay.portal.scripting.ruby.RubyExecutor]: Constructor threw exception; nested exception is java.lang.OutOfMemoryError: PermGen space at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:281) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:120) at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedMap(BeanDefinitionValueResolver.java:378)

    Users with the same issue

    linxiaolong
    1 times, last one,
    Andreas Häber
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    8 more bugmates