roneisele
Aug 27th, 2004, 04:06 PM
Greetings, all. I'm having a bear of a time with getting the framework to locate my sql-map.config.xml file.
Dev tool: WSAD 5.1.2
Runtime: WebSphere 5.1
JDK (both): 1.4.2
Spring Release: 1.1RC2
((From spring config))
<bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactory Bean">
<property name="configLocation"><value>WEB-INF/sql-map-config.xml</value></property>
</bean>
The file is in the indicated directory, but during initialization it keeps throwing
springApplicationContext.xml]: Initialization of bean failed; nested exception is java.io.FileNotFoundException: sql-map-config.xml (The system cannot find the file specified)
To make it work, I've removed the "WEB-INF/" portion of the path and placed it in WSAD5.1's base directory, and everything started up and initialized as expected. The 'WEB-INF/' recommendation came from the javadoc for said class.
Anyone else run into this, or have any pointers? I can't continue to place the file in the server's base....thanks for any assistance!
Dev tool: WSAD 5.1.2
Runtime: WebSphere 5.1
JDK (both): 1.4.2
Spring Release: 1.1RC2
((From spring config))
<bean id="sqlMapClient" class="org.springframework.orm.ibatis.SqlMapClientFactory Bean">
<property name="configLocation"><value>WEB-INF/sql-map-config.xml</value></property>
</bean>
The file is in the indicated directory, but during initialization it keeps throwing
springApplicationContext.xml]: Initialization of bean failed; nested exception is java.io.FileNotFoundException: sql-map-config.xml (The system cannot find the file specified)
To make it work, I've removed the "WEB-INF/" portion of the path and placed it in WSAD5.1's base directory, and everything started up and initialized as expected. The 'WEB-INF/' recommendation came from the javadoc for said class.
Anyone else run into this, or have any pointers? I can't continue to place the file in the server's base....thanks for any assistance!