eclipse maven使用配置文件时出现循环占位符引用错误



当我使用maven打包target/war和配置文件,eclipse刷新项目,并尝试在tomcat上启动它时,我不断得到

org.springframework.beans.factory.BeanDefinitionStoreException:
Invalid bean definition with name 'dataSource' defined in class path resource
[applicationContext-resources.xml]: Circular placeholder reference
'jdbc.driverClassName' in property definitions
注意:我使用STS 3.7.1,它基于eclipse 4.5.1

右键单击project -> Maven -> Select Maven Profiles…拿起你的资料。

…这在eclipse中是愚蠢的行为

最新更新