org.springframework.beans.NotWritablePropertyException: Invalid property 'sessionFactory' of bean class [com.clear2pay.dao.impl.OrganizationDaoImpl]: Bean property 'sessionFactory' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
在dao中写出 sessionFactory的get和set方法
[color=red]sessionFactory.getCurrentSessiion()
HibernateTemplate.getSessionFactory.getCurrentSession()[/color]
The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml...,解决办法 检查应用目录下WEB-INF的lib里是否有jstl.jar和standard.jar两个包(注意:两个包的版本要一致,这一点要注意,如jstl-1.1.2.jar和standard-1.0.6.jar不起效的),可以用winrar打开包查看META-INF下的MANIFEST.MF文件里Implementation-Version的值来看版本号,或者直接将tomcat应用目录下的examles里WEB-INF\lib下的两个标准库文件复制到项目的目录中。
在dao中写出 sessionFactory的get和set方法
[color=red]sessionFactory.getCurrentSessiion()
HibernateTemplate.getSessionFactory.getCurrentSession()[/color]
The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml...,解决办法 检查应用目录下WEB-INF的lib里是否有jstl.jar和standard.jar两个包(注意:两个包的版本要一致,这一点要注意,如jstl-1.1.2.jar和standard-1.0.6.jar不起效的),可以用winrar打开包查看META-INF下的MANIFEST.MF文件里Implementation-Version的值来看版本号,或者直接将tomcat应用目录下的examles里WEB-INF\lib下的两个标准库文件复制到项目的目录中。