I have the following XML configurarion file:
then i have the following code on TesisDAOImpl class:
if i comment the line: dir = new SimpleFSDirectory(Indexer); everything works fine...
BUT when i compile that line Spring turns itself mad, can't load the TesisDAO singleton and the messages are:
4/05/2011 12:34:41 PM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@1f99eea: startup date [Wed May 04 12:34:41 CDT 2011]; root of context hierarchy
4/05/2011 12:34:41 PM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [Apendice2010/ApplicationContext.xml]
4/05/2011 12:34:42 PM org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons
INFO: Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1320a41: defining beans [dataSource,TomosDAO,TesisDAO]; root of factory hierarchy
Iniciando TomosDAO
4/05/2011 12:34:42 PM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
INFO: Loaded JDBC driver: org.apache.derby.jdbc.EmbeddedDriver
4/05/2011 12:34:42 PM org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons
INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@1320a41: defining beans [dataSource,TomosDAO,TesisDAO]; root of factory hierarchy
BUILD SUCCESSFUL (total time: 10 seconds)
Does anyone has any clue??? any at all??? i am getting craizy around here
Greetings