Hacker News new | ask | show | jobs
by ryanmccullagh 3500 days ago
Kind of off topic, but this reminds me of my internship this summer. What sucks about Spring is the horrible error messages. If there is something wrong in the XML configuration, or dependency configuration, it doesn't actually tell you that. Instead, it shows a deep stack trace with some strange exception that doesn't relate to the problem at all.
1 comments

Then stop using spring. Don't get sucked into the vortex of using overhyped tools that require consultant engagements to fix production bugs.
You could also not use xml. Because spring supports java configuration and the stacktraces are easy to see.
Unfortunately, I wasn't in any position to make that call. Else, I would have ditched it.