導太多遍了,唯一就是順路對包的功能了解了一下,鏈接: http://pan.baidu.com/s/1hr3YMu4 密碼: tj5u
2016-08-24
到這里為止因為導包浪費了很多時間,最好是都CTRL+SHIFT+T檢查一下web.xml中的struts過濾器和Spring中的監聽器是否存在。
2016-08-24
老師不提供log4j.properties文件,我自己隨便在網上下載的,結果addProduct.jsp和老師的一樣,但是無法顯示界面,tomcat啟動時提示:信息: 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包跟老師的不是同一個版本,我使用這種方法,結果在Action類中 productService.save(product);拋出空指針,是因為productService就為null,暫時不知道原因,如果有人知道,請告訴我一聲。
2016-08-22
我用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