/<bean <b>id="sessionFactory"*
class="org.springframework.orm.hibernate5.LocalSessionFactoryBean">
        <property name="dataSource" ref="dataSource"/>
        <property name="hibernateProperties">
            <props>
                <prop
key="hibernate.dialect">${spring.jpa.properties.hibernate.dialect}</prop>
                <prop key="hibernate.show_sql">${spring.jpa.show-sql}</prop>
                <prop
key="hibernate.hbm2ddl.auto">${spring.jpa.hbm2ddl}</prop>                
                <prop
key="hibernate.current_session_context_class">${spring.jpa.properties.hibernate.current_session_context_class}</prop>
            </props>
        </property>
    </bean> /

this section was defined in data-source.xml, so, i removed the 
*id="sessionFactory"* .
finally, it worked.



--
Sent from: http://shiro-user.582556.n2.nabble.com/

Reply via email to