Try this as it should work:

http://www.springframework.org/docs/api/org/springframework/orm/hibernate/LocalSessionFactoryBean.html#setMappingDirectoryLocations(org.springframework.core.io.Resource[])

HTH,
Robert

On 7/12/07, Brian Kates <[EMAIL PROTECTED]> wrote:
Hmm, still can't find any useful logging.

The exception I'm seeing in the logs is:

org.apache.axis2.deployment.DeploymentException: Processing
Operations Modules with an error of Error creating bean with name
'sessionFactory' defined in class path resource [applicationContext.xml]:
Initialization of bean failed; nested exception is
java.io.FileNotFoundException: class path resource
[classpath*:**/TransferScenario.hbm.xml] cannot be opened
because it does not exist

Just to review, I have one mapping file located in
services\WeatherSpringService\WEB-INF\classes\TransferScenario.hbm.xml

I had the mapping file some place else, so after expanding the AAR I created
a WEB-INF/classes directory and dropped the file in there.

Any ideas?

Thanks.

-Brian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to