導(dǎo)太多遍了,唯一就是順路對包的功能了解了一下,鏈接: http://pan.baidu.com/s/1hr3YMu4 密碼: tj5u
2016-08-24
到這里為止因?yàn)閷?dǎo)包浪費(fèi)了很多時(shí)間,最好是都CTRL+SHIFT+T檢查一下web.xml中的struts過濾器和Spring中的監(jiān)聽器是否存在。
2016-08-24
老師不提供log4j.properties文件,我自己隨便在網(wǎng)上下載的,結(jié)果addProduct.jsp和老師的一樣,但是無法顯示界面,tomcat啟動時(shí)提示:信息: Starting Servlet Engine: Apache Tomcat/6.0.13
log4j:ERROR Failed to load driver
log4j:ERROR Failed to load driver
2016-08-23
最全面的springxml文件約束 applicationContext.xml http://blog.csdn.net/qq_31776219/article/details/52275722
2016-08-22
我的jar包跟老師的不是同一個(gè)版本,我使用這種方法,結(jié)果在Action類中 productService.save(product);拋出空指針,是因?yàn)閜roductService就為null,暫時(shí)不知道原因,如果有人知道,請告訴我一聲。
2016-08-22
我用eclipse做啟動tomcat是報(bào)錯(cuò)啊:org.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