Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • 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: 73
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:

 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!