Spring专题,有文章、代码、电子书等http://www.java99.com/?m=Subject&id=6

解决方案 »

  1.   

    可能是版本不对吧
    当前版本的spring没有这个构造方法了
      

  2.   

    谢谢两位,有没有文挡呢!我真是找不到,我看的是Spring in Action,也看Spring中文参考手册2.0
      

  3.   

    我这里有一些java教学视频:快速掌握Java(课程视频,作者孙鑫,共10课,swf视频,带播放软件)
    http://auction1.taobao.com/auction/0/item_detail-0db1-3756b54f11541e507158bdf8a0f1f3ba.jhtml赛迪网校.J2EE基础教程(AVI视频13集31章4CD-清晰-2.3G-配解码器)
    http://auction1.taobao.com/auction/0/item_detail-0db1-f69b6b8e0a659bcc97834db36c26bb48.jhtml
      

  4.   

    应该是你的spring配置文件没有配置好.打开spring配置文件.看看:
    <bean id="exampleSessionFactory" class="org.springframework.orm.hibernate.LocalSessionFactoryBean">
    <property name="dataSource"><ref local="exampleDataSource"/></property>
    <property name="hibernateProperties">
    <ref bean="exampleHibernateProperties" />
    </property>
    <!-- Must references all OR mapping files. -->
    <property name="mappingResources">
    <list>
            <value>/spring/Customer.hbm.xml</value>
             <value>/spring/Account.hbm.xml</value>
        </list>
    </property>


    </bean>在mappingResources中是否包涵hello.xml
      

  5.   

    你看一下XmlBeanFactory构造函数中有没有类型和你匹配的