Question about FactoryBean interface

11 views
Skip to first unread message

Enrico Morelli

unread,
Jun 6, 2018, 4:41:41 AM6/6/18
to Getting started with Spring Framework
Dear,

I'm reading the part 3-9 FactoryBean interface. In the paragraph you write that if webservice.properties file exists an instance of WebServiceEventSender is created.
But if I create a webservice.properties file and in the applicationContext.xml file I substitute <property name="databasePropertiesFile" value="META-INF/config/database.properties"/>
with <property name="webservicePropertiesFile" value="META-INF/config/webservice.properties"/> I receive an exception during compilation.

Why?
Reply all
Reply to author
Forward
0 new messages