I’m trying to go through the Spring Hibernate tutoial updated to 6.5 specs
It seems to add Hibernate ok, but when I add Spring, all goes well until I click finish
applicationContext.xml has a error where the hibernate reference is added.
<?xml version=”1.0″ encoding=”UTF-8″?>
<beans
xmlns=”http://www.springframework.org/schema/beans”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”
xsi:schemaLocation=”http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd”>
<bean id=”sessionFactoyBean”
class=”org.springframework.orm.hibernate3.LocalSessionFactoryBean”>
<property name=”configLocation”
value=”file:src/hibernate.cfg.xml”>
</property>
</bean></beans>
I get a big red X on the bold line that starts <bean id…/>.
It looks like something was not added in th form of a library. src/hibernate.cfg.xml is certainly there.
Did I forget to click something that must be clicked under the new versions?