org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’tilesConfigurer’ defined in class path resource [earth-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via wordpress.com by Unknown author, 1 year ago
Error creating bean with nametilesConfigurerdefined in class path resource [earth-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
via Coderanch by Deepaks Deshpande, 10 months ago
Error creating bean with name 'motoristService' defined in class path resource [springapp-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'dataSource' is required
via coderanch.com by Unknown author, 1 year ago
Error creating bean with name 'motoristService' defined in class path resource [springapp-servlet.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Property 'dataSource' is required
via Stack Overflow by user3962745
, 2 years ago
Error creating bean with name 'emp' defined in class path resource [com/bpp/commons/application-context.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
via Stack Overflow by solvator
, 5 days ago
Error creating bean with name 'stockDaoImpl' defined in class path resource [database.properties.xml]: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required
via Coderanch by Simon Ritchie, 10 months ago
Error creating bean with name 'hibernate4SessionFactory' defined in class path resource [Spring-Module.xml]: Invocation of init method failed; nested exception is java.lang.NoClassDefFoundError: org/hibernate/annotations/common/reflection/ReflectionManager
org.springframework.beans.factory.BeanCreationException: Error creating bean with name ’tilesConfigurer’ defined in class path resource [earth-servlet.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
at org.springframework.web.servlet.view.tiles2.SpringTilesApplicationContextFactory$SpringWildcardServletTilesApplicationContext.(SpringTilesApplicationContextFactory.java:72)
at org.springframework.web.servlet.view.tiles2.SpringTilesApplicationContextFactory.createApplicationContext(SpringTilesApplicationContextFactory.java:55)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1460)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

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