Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

eclipse maven Circular placeholder reference Error using profiles

When I packaged target/war using maven with profiles, eclipse refreshed project, and try to launch it on tomcat, I get constantly

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

Mention: I use STS 3.7.1, which is based on eclipse 4.5.1

like image 984
user2171669 Avatar asked Sep 01 '26 22:09

user2171669


1 Answers

Right click on the project -> Maven -> Select Maven Profiles... and pickup your profile.

...This is stupid behavior in eclipse

like image 61
user2171669 Avatar answered Sep 03 '26 16:09

user2171669



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!