Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Configurable Spring bean class via PropertyPlaceholderConfigurer

$
0
0

IntelliJ IDEA Ultimate                                                                                                 

12.0.3                                                                                                                  

IU-123.155                                                                                                              

 

 

The 'class' attribute of my Spring beans are configurable via a PropertyPlaceholderConfigurer.  IDEA 12 is finding the fully qualified class names in the properties file and substituting them into the Spring application context file but it highlights the bean properties of each bean red and complains it 'Cannont resolve property'.  It doesn't see that the class does have the correct setter defined.  The issue goes away if I hardcode the class attributes of each Spring bean.             

 

This worked in IntelliJ IDEA 11.                                                                                        

 

 


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>