System.Configuration.ConfigurationErrorsException: Error creating context 'sprin
g.root': 'TransactionManager' node cannot be resolved for the specified context
[adecco.DAO.QualificationDAO]. ---> Spring.Util.FatalReflectionException: Cannot
instantiate Type [Spring.Context.Support.XmlApplicationContext] using ctor [Voi
d .ctor(System.String, Boolean, System.String[])] : 'Une exception a été levée p
ar la cible d'un appel.' ---> System.Reflection.TargetInvocationException: Une e
xception a été levée par la cible d'un appel. ---> Spring.Objects.Factory.Object
CreationException: Error creating object with name 'QualificationDAO' defined in
'file [D:\Mes Documents\Visual Studio 2008\Projects\adecco\adecco\bin\Debug\Dao
.xml]' : Initialization of object failed : 'TransactionManager' node cannot be r
esolved for the specified context [adecco.DAO.QualificationDAO]. ---> Spring.Cor
e.InvalidPropertyException: 'TransactionManager' node cannot be resolved for the
specified context [adecco.DAO.QualificationDAO].
à Spring.Expressions.PropertyOrFieldNode.InitializeNode(Object context)
à Spring.Expressions.PropertyOrFieldNode.Set(Object context, EvaluationContex
t evalContext, Object newValue)
à Spring.Expressions.BaseNode.SetValue(Object context, IDictionary variables,
Object newValue)
à Spring.Expressions.BaseNode.Spring.Expressions.IExpression.SetValue(Object
context, Object newValue)
à Spring.Objects.ObjectWrapper.SetPropertyValue(IExpression propertyExpressio
n, Object val)
à Spring.Objects.ObjectWrapper.SetPropertyValue(PropertyValue pv)
à Spring.Objects.ObjectWrapper.SetPropertyValues(IPropertyValues propertyValu
es, Boolean ignoreUnknown)
à Spring.Objects.ObjectWrapper.SetPropertyValues(IPropertyValues pvs)
à Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.ApplyPr
opertyValues(String name, RootObjectDefinition definition, IObjectWrapper wrappe
r, IPropertyValues properties)
à Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.Populat
eObject(String name, RootObjectDefinition definition, IObjectWrapper wrapper)
à Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.Configu
reObject(String name, RootObjectDefinition definition, IObjectWrapper wrapper)
à Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.CreateO
bject(String name, RootObjectDefinition definition, Object[] arguments, Boolean
allowEagerCaching)
--- Fin de la trace de la pile d'exception interne ---
à Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.CreateO
bject(String name, RootObjectDefinition definition, Object[] arguments, Boolean
allowEagerCaching)
à Spring.Objects.Factory.Support.AbstractAutowireCapableObjectFactory.CreateO
bject(String name, RootObjectDefinition definition, Object[] arguments)
à Spring.Objects.Factory.Support.AbstractObjectFactory.CreateAndCacheSingleto
nInstance(String objectName, RootObjectDefinition objectDefinition, Object[] arg
uments)
à Spring.Objects.Factory.Support.AbstractObjectFactory.GetObject(String name,
Type requiredType, Object[] arguments)
à Spring.Objects.Factory.Support.AbstractObjectFactory.GetObject(String name)
à Spring.Objects.Factory.Support.DefaultListableObjectFactory.PreInstantiateS
ingletons()
à Spring.Context.Support.AbstractApplicationContext.Refresh()
à Spring.Context.Support.XmlApplicationContext..ctor(Boolean refresh, String
name, Boolean caseSensitive, IApplicationContext parentContext, String[] configu
rationLocations)
à Spring.Context.Support.XmlApplicationContext..ctor(String name, Boolean cas
eSensitive, String[] configurationLocations)
--- Fin de la trace de la pile d'exception interne ---
à System.RuntimeMethodHandle._InvokeConstructor(Object[] args, SignatureStruc
t& signature, IntPtr declaringType)
à System.RuntimeMethodHandle.InvokeConstructor(Object[] args, SignatureStruct
signature, RuntimeTypeHandle declaringType)
à System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Bi
nder binder, Object[] parameters, CultureInfo culture)
à System.Reflection.ConstructorInfo.Invoke(Object[] parameters)
à Spring.Util.ObjectUtils.InstantiateType(ConstructorInfo constructor, Object
[] arguments)
--- Fin de la trace de la pile d'exception interne ---
à Spring.Util.ObjectUtils.InstantiateType(ConstructorInfo constructor, Object
[] arguments)
à Spring.Context.Support.ContextHandler.RootContextInstantiator.InvokeContext
Constructor(ConstructorInfo ctor)
à Spring.Context.Support.ContextHandler.ContextInstantiator.InstantiateContex
t()
à Spring.Context.Support.ContextHandler.InstantiateContext(IApplicationContex
t parentContext, Object configContext, String contextName, Type contextType, Boo
lean caseSensitive, String[] resources)
à Spring.Context.Support.ContextHandler.Create(Object parent, Object configCo
ntext, XmlNode section)
--- Fin de la trace de la pile d'exception interne ---
à System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, Sec
tionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord s
ectionRecord, Object parentResult)
à System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factory
Record, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolea
n getRuntimeObject, Object& result, Object& resultRuntimeObject)
à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String con
figKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boole
an requestIsHere, Object& result, Object& resultRuntimeObject)
à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String con
figKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boole
an requestIsHere, Object& result, Object& resultRuntimeObject)
à System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String con
figKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boole
an requestIsHere, Object& result, Object& resultRuntimeObject)
à System.Configuration.BaseConfigurationRecord.GetSection(String configKey, B
oolean getLkg, Boolean checkPermission)
à System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
à System.Configuration.ClientConfigurationSystem.System.Configuration.Interna
l.IInternalConfigSystem.GetSection(String sectionName)
à System.Configuration.ConfigurationManager.GetSection(String sectionName)
à Spring.Util.ConfigurationUtils.GetSection(String sectionName)
à Spring.Context.Support.ContextRegistry.InitializeContextIfNeeded()
à Spring.Context.Support.ContextRegistry.GetContext()
à adecco.Program.Main(String[] args) dans D:\Mes Documents\Visual Studio 2008
\Projects\adecco\adecco\Program.cs:ligne 22
|