• Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring SEVERE: Allocate exception for servlet  RSS feed

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have been learning spring from a tutorial and it has all been going ok up until a short while ago. The application was running this morning and then I followed the tutorial a little more and now the whole application wont run. I'm getting the following error:



I removed all this mornings tutorial parts and that has not had an effect. I would have thought that retracing my steps and removing what was added would have made the application run again but no luck.

I'm working with Tomcat8.4, eclipse, building a maven project dependencies pom.xml as follows:



I have commented out the hibernate validator as this was the part of the tutorial where I had got to. Any ideas would be greatly appreciated?
 
Ranch Hand
Posts: 66
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post your web.xml file.  Also, post your .xml file that configures your DispatcherServlet.  That .xml file should be somewhere in your WEB-INF folder, and contain something like this:

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!