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.com by Unknown author, 2 years ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.samplestrutsliferay.struts.service.persistence.ItemAPersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
via liferay.com by Unknown author, 2 years ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.samplestrutsliferay.struts.service.persistence.ItemAPersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
via liferay.com by Unknown author, 1 year ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.samplestrutsliferay.struts.service.persistence.ItemAPersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
via liferay.com by Unknown author, 2 years ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.liferay.samplestrutsliferay.struts.service.persistence.ItemAPersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
via liferay.com by Unknown author, 2 years ago
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.perso.payyourfine.service.persistence.AppealFinePersistence' defined in ServletContext resource [/WEB-INF/classes/META-INF/portlet-spring.xml]: Instantiation of bean failed; nested exception is java.lang.ExceptionInInitializerError
via spring.io by Unknown author, 2 years ago
Error creating bean with name 'bankDao' defined in class path resource [applicationContext-business.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'msi
java.lang.NullPointerException: 	at com.liferay.portal.configuration.ConfigurationImpl.getFileName(ConfigurationImpl.java:336)	at com.liferay.portal.configuration.ConfigurationImpl.(ConfigurationImpl.java:120)	at com.liferay.portal.configuration.ConfigurationImpl.(ConfigurationImpl.java:61)	at com.liferay.portal.configuration.ConfigurationFactoryImpl.getConfiguration(ConfigurationFactoryImpl.java:28)	at com.liferay.portal.kernel.configuration.ConfigurationFactoryUtil.getConfiguration(ConfigurationFactoryUtil.java:25)	at com.liferay.util.service.ServiceProps.(ServiceProps.java:65)	at com.liferay.util.service.ServiceProps.(ServiceProps.java:69)	at com.liferay.samplestrutsliferay.struts.model.impl.ItemAModelImpl.(ItemAModelImpl.java:66)	at com.liferay.samplestrutsliferay.struts.service.persistence.ItemAPersistenceImpl.(ItemAPersistenceImpl.java:72)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:126)	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:74)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:958)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:911)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)	at com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor._autoInject(BeanReferenceAnnotationBeanPostProcessor.java:106)	at com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor._autoInject(BeanReferenceAnnotationBeanPostProcessor.java:148)	at com.liferay.portal.spring.annotation.BeanReferenceAnnotationBeanPostProcessor.postProcessBeforeInitialization(BeanReferenceAnnotationBeanPostProcessor.java:57)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)	at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276)	at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197)	at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47)	at com.liferay.portal.spring.context.PortletContextLoaderListener.contextInitialized(PortletContextLoaderListener.java:71)	at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.doPortalInit(PortalClassLoaderServletContextListener.java:91)	at com.liferay.portal.kernel.util.BasePortalLifecycle.portalInit(BasePortalLifecycle.java:42)	at com.liferay.portal.kernel.util.PortalLifecycleUtil.register(PortalLifecycleUtil.java:52)	at com.liferay.portal.kernel.util.BasePortalLifecycle.registerPortalLifecycle(BasePortalLifecycle.java:50)	at com.liferay.portal.kernel.servlet.PortalClassLoaderServletContextListener.contextInitialized(PortalClassLoaderServletContextListener.java:52)	at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4135)	at org.apache.catalina.core.StandardContext.start(StandardContext.java:4630)	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)	at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1041)	at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)	at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)	at org.apache.catalina.startup.HostConfig.check(HostConfig.java:1345)	at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:303)	at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)	at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1337)	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1601)	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1610)	at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1590)	at java.lang.Thread.run(Thread.java:619)