Had the exception "Error instantiating context spring.root" when attempting to create an object.
This was caused by not including the assembly reference that the object belonged to in the web site.
This blog is a record of some development issues I have faced. There may be something of use!