已采納回答 / qq_你就是夢想_0
這是applicationContext.xml<?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:jdb...
2016-08-23
最全面的springxml文件約束 applicationContext.xml http://blog.csdn.net/qq_31776219/article/details/52275722
2016-08-22
我的jar包跟老師的不是同一個版本,我使用這種方法,結果在Action類中 productService.save(product);拋出空指針,是因為productService就為null,暫時不知道原因,如果有人知道,請告訴我一聲。
2016-08-22
已采納回答 / botao555
注意報錯信息中的這句:Cannot resolve reference to bean 'sesstionFactory',意思是不能引用'sesstionFactory'這個bean,session這個單詞拼錯了,改過來就行了
2016-08-21
我用eclipse做啟動tomcat是報錯?。簅rg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'empService' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'empDao' while setting bean property 'empDao'; nested exception is org.springframework.
2016-08-21