错误:org.springframework.web.context.ContextLoader-上下文初始化失败;“春天”;

错误:org.springframework.web.context.ContextLoader-上下文初始化失败;“春天”;,spring,spring-mvc,Spring,Spring Mvc,我尝试运行spring应用程序时出错。请帮帮我 错误:org.springframework.web.context.ContextLoader-上下文初始化失败“spring” root-context.xml http://www.springframework.org/schema/beans/spring-beans.xsd“> 真的 org.hibernate.dial.h2方言 更新 org.hibernate.transaction.jdbc事务工厂 com.demo.log

我尝试运行spring应用程序时出错。请帮帮我

错误:org.springframework.web.context.ContextLoader-上下文初始化失败“spring”

root-context.xml

http://www.springframework.org/schema/beans/spring-beans.xsd“>


真的
org.hibernate.dial.h2方言
更新
org.hibernate.transaction.jdbc事务工厂
com.demo.login.beans.Customer

您链接的屏幕截图显示了更完整的堆栈跟踪。我建议您提供该跟踪。对于那个愚蠢的错误,我深表歉意。请检查屏幕截图。@Alexanderic
<!-- Root Context: defines shared resources visible to all other web components -->


<bean id="dataSource"
    class="org.springframework.jdbc.datasource.DriverManagerDataSource">
    <property name="driverClassName" value="com.mysql.jdbc.Driver"></property>
    <property name="url" value="jdbc:mysql://localhost:3306/test"></property>
    <property name="username" value="root"></property>
    <property name="password" value="root"></property>
</bean>

<bean id="sessionFactory"
    class="org.springframework.orm.hibernate4.LocalSessionFactoryBean">
    <property name="hibernateProperties">
        <props>
            <prop key="hibernate.show_sql">true</prop>
            <prop key="hibernate.dialect">org.hibernate.dialect.H2Dialect</prop>
            <prop key="hibernate.hbm2ddl.auto">update</prop>
            <prop key="hibernate.transaction.factory_class">org.hibernate.transaction.JDBCTransactionFactory
            </prop>
        </props>
    </property>
    <property name="annotatedClasses">
        <list>
            <value>com.demo.login.beans.Customer</value>
        </list>
    </property>
</bean>

<bean id="transactionManager"
    class="org.springframework.orm.hibernate4.HibernateTransactionManager">
    <property name="sessionFactory" ref="sessionFactory"></property>
</bean>

<bean id="customerDao" class="com.demo.login.dao.CustomerDaoImpl">
    <property name="sessionFactory" ref="sessionFactory"></property>
</bean>

<bean id="customerService" class="com.demo.login.services.CustomerServiceImpl">
    <property name="customerDao" ref="customerDao"></property>
</bean>