Ne trouve pas le champ ou la propriété "confDir"

Tags: #<Tag:0x00007fd5074b3c08>

Bonjour a tous,
Je rencontre une erreur lorsque je lance asqatasun sur tomcat, ça me dit que le champ ou la propriété “confDir” n’est pas trouvée. Est-ce que quelqu’un connait un fix ou a déjà rencontré ce probleme?
Il s’agit d’un RHEL7.9.
Voici la stacktrace avec l’erreur de /var/log/asqatasun/asqatasun.log:
12-11-2020 13:44:07:663 0 ERROR org.springframework.web.context.ContextLoader - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exposedPropertiesConfigurer' defined in ServletContext resource [/WEB-INF/conf/tgol-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:649)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)

        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1125)

        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1858)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)

Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:142)

        at org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1299)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.evaluate(BeanDefinitionValueResolver.java:210)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:182)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        ... 23 more

Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:208)

        at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72)

        at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:57)

        at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102)

        at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:97)

        at org.springframework.expression.common.CompositeStringExpression.getValue(CompositeStringExpression.java:82)

        at org.springframework.expression.common.CompositeStringExpression.getValue(CompositeStringExpression.java:1)

        at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:139)

        ... 31 more

12-11-2020 13:49:27:431 1    ERROR org.springframework.web.context.ContextLoader  - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exposedPropertiesConfigurer' defined in ServletContext resource [/WEB-INF/conf/tgol-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:649)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)

        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1125)

        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1858)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)

Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:142)

        at org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1299)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.evaluate(BeanDefinitionValueResolver.java:210)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:182)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        ... 23 more

Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:208)

        at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72)

        at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:57)

        at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102)

        at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:97)

        at org.springframework.expression.common.CompositeStringExpression.getValue(CompositeStringExpression.java:82)

        at org.springframework.expression.common.CompositeStringExpression.getValue(CompositeStringExpression.java:1)

        at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:139)

        ... 31 more

12-11-2020 13:52:05:893 1    ERROR org.springframework.web.context.ContextLoader  - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exposedPropertiesConfigurer' defined in ServletContext resource [/WEB-INF/conf/tgol-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:649)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)

        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1125)

        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1858)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)

Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:142)

        at org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1299)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.evaluate(BeanDefinitionValueResolver.java:210)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:182)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        ... 23 more

Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:208)

        at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72)

        at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:57)

        at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102)

        at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:97)

        at org.springframework.expression.common.CompositeStringExpression.getValue(CompositeStringExpression.java:82)

        at org.springframework.expression.common.CompositeStringExpression.getValue(CompositeStringExpression.java:1)

        at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:139)

        ... 31 more

12-11-2020 13:56:07:090 1    ERROR org.springframework.web.context.ContextLoader  - Context initialization failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'exposedPropertiesConfigurer' defined in ServletContext resource [/WEB-INF/conf/tgol-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:527)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)

        at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)

        at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)

        at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)

        at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)

        at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:649)

        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:451)

        at org.springframework.web.context.ContextLoader.configureAndRefreshWebApplicationContext(ContextLoader.java:383)

        at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:283)

        at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:111)

        at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4689)

        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5155)

        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

        at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:743)

        at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:719)

        at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:705)

        at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1125)

        at org.apache.catalina.startup.HostConfig$DeployDirectory.run(HostConfig.java:1858)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)

        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)

        at java.lang.Thread.run(Thread.java:748)

Caused by: org.springframework.beans.factory.BeanExpressionException: Expression parsing failed; nested exception is org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:142)

        at org.springframework.beans.factory.support.AbstractBeanFactory.evaluateBeanDefinitionString(AbstractBeanFactory.java:1299)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.evaluate(BeanDefinitionValueResolver.java:210)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:182)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:353)

        at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:153)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1360)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1118)

        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:517)

        ... 23 more

Caused by: org.springframework.expression.spel.SpelEvaluationException: EL1008E:(pos 17): Field or property 'confDir' cannot be found on object of type 'java.util.Properties'

        at org.springframework.expression.spel.ast.PropertyOrFieldReference.readProperty(PropertyOrFieldReference.java:208)

        at org.springframework.expression.spel.ast.PropertyOrFieldReference.getValueInternal(PropertyOrFieldReference.java:72)

        at org.springframework.expression.spel.ast.CompoundExpression.getValueInternal(CompoundExpression.java:57)

        at org.springframework.expression.spel.ast.SpelNodeImpl.getTypedValue(SpelNodeImpl.java:102)

        at org.springframework.expression.spel.standard.SpelExpression.getValue(SpelExpression.java:97)

        at org.springframework.expression.common.CompositeStringExpression.getValue(CompositeStringExpression.java:82)

        at org.springframework.expression.common.CompositeStringExpression.getValue(CompositeStringExpression.java:1)

        at org.springframework.context.expression.StandardBeanExpressionResolver.evaluate(StandardBeanExpressionResolver.java:139)

        ... 31 more

Merci d’avance pour vos réponses!

Bonjour, problème résolu (problème de droit)

Bonjour @Otacon95 et bienvenue !

Content de voir que tu as résolu ton problème :slight_smile: