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)

你可能感兴趣的:(spring,tomcat,bean,struts,ssh)