Sunday, 20 March 2016

How to resolve issue "No Spring WebApplicationInitializer types detected on classpath"

If the project is maven project and if you see such a error as like below

"No Spring WebApplicationInitializer types detected on classpath"

then check whether webapp folder is present under src/main/webapp and not outside.If webapp folder is present outside then try to place them under src/main/webapp.

Also check whether the Maven dependencies are added in the class path by Right clicking on the project and choose Deployment Assembly then add the maven dependency path)


No comments:

Post a Comment