gpt4 book ai didi

java - org.springframework.beans.factory.BeanDefinitionStoreException

转载 作者:行者123 更新时间:2023-12-03 06:24:10 24 4
gpt4 key购买 nike

当我尝试运行使用BeanDefinitionStoreExceptionSpring构建的Web应用程序时,遇到了gradle

org.springframework.beans.factory.BeanDefinitionStoreException: Invalid bean definition with name 'transactionApi' defined in class path resource [WEB-INF/api-context.xml]: Could not resolve placeholder 'wu.enrollment.time' in string value [${wu.enrollment.time}]

最佳答案

您的bean transactionApi期望使用Spring的可替换属性来设置属性。该错误告诉您可替换属性为wu.enrollment.time。有关Spring的工作原理,请参见here

关于java - org.springframework.beans.factory.BeanDefinitionStoreException,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17520453/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com