Installed Spring-ide version 1.1.1 in Spring 3.01, and use Spring 1.2 rcX.
Added nature to project and added context files to project.
Problem: beans that are referenced with "ref bean" are not being found.
In my applicationContext-db.xml file I have:
This refers to the bean in the root applicationContext.xml file:Code:<bean id="propertyConfigurer" class="org.springframework.beans. factory.config.PropertyPlaceholderConfigurer"> <description>Use the 'run.properties' file to override the properties used in the Spring container</description> <property name="properties"><ref bean="runProperties"></ref></property> </bean>
Code:<bean id="runProperties" class="org.springframework.beans. factory.config.PropertiesFactoryBean"> <description></description> <property name="locations"> <list> <value>file:run.properties</value> </list> </property> </bean>
All context files are flagged as in error in Eclipse. The app compiles and runs fine. I must be missing something about Spring-ide?


Reply With Quote