org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator#0' defined in class path resource [META-INF/base-spring.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.liferay.portal.lar.StagedModelDataHandlerRegistryImpl] for bean with name 'com.liferay.portal.kernel.lar.StagedModelDataHandlerRegistry' defined in class path resource [META-INF/util-spring.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/liferay/portal/kernel/lar/StagedModelDataHandlerRegistry

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 Liferay Issues by Pavol Luptak, 1 year ago
Error creating bean with name 'com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator#0' defined in class path resource [META-INF/base-spring.xml]: Invocation of init method failed; nested exception is
via Liferay Issues by Pavol Luptak, 1 year ago
Error creating bean with name 'com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator#0' defined in class path resource [META-INF/base-spring.xml]: Invocation of init method failed; nested exception is
via liferay.com by Unknown author, 1 year ago
Error creating bean with name 'com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator#0' defined in class path resource [META-INF/base-spring.xml]: Invocation of init method failed; nested exception is
via cnblogs.com by Unknown author, 2 years ago
Error creating bean with name 'sessionFactory' defined in class path resource [applicationContext.xml]: Invocation of init method failed; nested exception is org.hibernate.HibernateException: could not instantiate RegionFactory [org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge]
via Stack Overflow by user1636585
, 2 years ago
Error creating bean with name 'sessionFactory' defined in class path resource [com/eam/deploy/tfcc-admin.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/context/CurrentSessionContext
via Stack Overflow by OPEYEMI OLORUNFEMI
, 2 years ago
Error creating bean with name 'sessionFactory' defined in class path resource [com/donah/web/config/dao-context.xml]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: No identifier specified for entity: com.donah.web.dao.Users
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.portal.spring.aop.ServiceBeanAutoProxyCreator#0' defined in class path resource [META-INF/base-spring.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [com.liferay.portal.lar.StagedModelDataHandlerRegistryImpl] for bean with name 'com.liferay.portal.kernel.lar.StagedModelDataHandlerRegistry' defined in class path resource [META-INF/util-spring.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: com/liferay/portal/kernel/lar/StagedModelDataHandlerRegistry
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1422)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:518)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:455)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
at org.springframework.context.support.AbstractApplicationContext.registerBeanPostProcessors(AbstractApplicationContext.java:710)
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:282)
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:204)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4939)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5434)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)

Users with the same issue

Once, 1 month ago
4 times, 1 month ago
2 times, 2 months ago
Once, 2 months ago
40 times, 10 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.