Weblogic is unable to find Hibernate mappings in classpath if .war is not unpacked. My bean context mapping:
Does anyone know of alternative configuration that I can use that does not force me to unpack war file. Thanks in advance.Code:<bean id="mySessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean"> <property name="mappingDirectoryLocations"> <list> <value>classpath:/com/foo/contract/domain/common</value> <value>classpath:/com/foo/contract/domain/proposal</value> <value>classpath:/com/foo/contract/domain/rfp</value> <value>classpath:/com/foo/contract/domain/template</value> </list> ...more... </bean>
P.S. Spring rocks.


Reply With Quote