ssh_jar缺少包的常見錯誤

1.NoClassDefFoundError:org/apache/commons/digester/RuleSet異常
解決方案:D:\pack\spring-framework-2.0.3-with-dependencies\spring-framework-2.0.3\lib\jakarta-commons\commons-digester.jar

2.java.lang.ClassNotFoundException:org.apache.taglibs.standard.tlv.JstlCoreTLV
解決方案:D:\pack\spring-framework-2.0.3-with-dependencies\spring-framework-2.0.3\lib\jakarta-taglibs\standard.jar

3.類不能是抽象的類 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'baseHibernateDao' defined in URL [file:/D:/Program%20Files/tomcat/webapps/houseSystem/WEB-INF/classes/applicationContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.cw.house.dao.BaseHibernateDao]: Is it an abstract class?; nested exception is java.lang.InstantiationException

4.屬性不能是靜態的 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userBiz' defined in URL [file:/D:/Program%20Files/tomcat/webapps/houseSystem/WEB-INF/classes/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.beans.InvalidPropertyException: Invalid property 'userDao' of bean class [com.cw.house.biz.springimpl.UserBiz]: No property 'userDao' found

5.可能是struts-config.xml裏的action的type="org.springframework.web.struts.DelegatingActionProxy" java.lang.NullPointerException
at com.cw.house.web.actions.HouseAction.doSelectAllHouse(HouseAction.java:47)
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章