Hi,
I am trying to use the Spring Hibernate module within a Web application.
I am using the latest nightly build of the Spring.Data.NHibernate ( NHibernate-20061128-0224 ). There appeared to be no example web application in the build so I constructed one based on the SpringAir Spring.NET 1.1 Preview 3 and Spring.Northwind examples ( replacing Spring ADO types with the equivilent Spring NHibernate base classes etc )
I am referencing the core assemblies ( Spring.Core, Spring.Web etc ) from NHibernate-20061128-0224 ( not Preview 3 ).
I get the following exception.
Field not found:'Spring.Objects.Factory.Xml.DefaultXmlObject DefinitionParser.log'
the full stack trace is below
-------------------------------------------------------------
Code:[MissingFieldException: Field not found: 'Spring.Objects.Factory.Xml.DefaultXmlObjectDefinitionParser.log'.] Spring.Objects.Factory.Xml.WebObjectDefinitionParser.GetScope(String value) +0 Spring.Objects.Factory.Xml.WebObjectDefinitionParser.ParseObjectDefinition(XmlElement element, String id, XmlResourceReader reader) +169 Spring.Objects.Factory.Xml.DefaultXmlObjectDefinitionParser.ParseObjectDefinition(XmlElement element, XmlResourceReader parser) +284 Spring.Objects.Factory.Xml.DefaultXmlObjectDefinitionParser.RegisterObjectDefinition(XmlElement element, XmlResourceReader parser) +64 Spring.Objects.Factory.Xml.DefaultXmlObjectDefinitionParser.ParseElement(XmlElement element, XmlResourceReader parser) +171 Spring.Objects.Factory.Xml.XmlResourceReader.RegisterObjectDefinitions(XmlElement root) +371 Spring.Objects.Factory.Xml.XmlObjectDefinitionReader.RegisterObjectDefinitions(XmlElement objectsElement, IResource resource) +74 Spring.Objects.Factory.Xml.XmlObjectDefinitionReader.LoadObjectDefinitions(IResource resource) +540 Spring.Context.Support.AbstractXmlApplicationContext.LoadObjectDefinitions(XmlObjectDefinitionReader objectDefinitionReader) +156 Spring.Context.Support.AbstractXmlApplicationContext.RefreshObjectFactory() +128 Spring.Context.Support.AbstractApplicationContext.Refresh() +265 Spring.Context.Support.WebApplicationContext..ctor(String name, Boolean caseSensitive, IApplicationContext parentContext, String[] configurationLocations) +96 Spring.Context.Support.WebApplicationContext..ctor(String name, Boolean caseSensitive, String[] configurationLocations) +55
I am not sure how to proceed, any guidance is greatly appreciated. If I need to provide more information please let me know.
Thanks
Rob Clayton


Reply With Quote
