<!--Dao-->
<resource uri="assembly://App_Config/App_Config/Dao.xml" />
在Dao中
<object id="AdminService" type="DAL.AdminService , DAL">
<property name="HibernateTemplate" ref="HibernateTemplate" />
</object>Error creating context 'spring.root': Could not load type from string value 'DAL.AdminService , DAL'.
我改成Embedded Resource
就是在属性的Build Action这项,
2,还有另外一个原因可能就是你的配置文件中根本找不到Mapping xml对应的实体对象