Invalid property 'annotatedClass…
来源:互联网 发布:淘宝助理怎么关联店铺 编辑:程序博客网 时间:2024/06/06 02:48
org.springframework.beans.factory.BeanCreationException: Errorcreating bean with name 'factory' defined in class path resource[applicationContext.xml]: Error setting property values; nestedexception isorg.springframework.beans.NotWritablePropertyExcep
……
Caused by: org.springframework.beans.NotWritablePropertyExcep
……
在Hibernate
解决方法:
<bean id="myDataSource"class="org.apache.commons.dbcp.BasicDataSource"destroy-method="close">
在 Hibernate distribution Spring整合时
<bean id="myDataSource"class="org.apache.commons.dbcp.BasicDataSource"destroy-method="close">
上面只需要注意红色的部分就行了
我出错的是用到了annotation注解没有用"org.springframework.orm.hibernate3.annotation.AnnotationSessionFactory
- Invalid property 'annotatedClass…
- Invalid property &#039…
- Setting property &#039…
- check_http: Invalid option - SSL…
- error: invalid storage class for…
- Property's synthesized get…
- SyntaxError: invalid s…
- BDB0126 mmap: Invalid&…
- ORA-00119 Invalid specification …
- linux启动错误 Invalid module for…
- This bundle is invalid. Apps tha…
- HDOJ 4337 King Arthur's Knigh…
- struts2 标签 s:property 截取字…
- Property 'XXX'&nb…
- Invalid location of&nb…
- 编译错误error: invalid&nbsp…
- Invalid object name&nb…
- zip error: Invalid&nbs…
- Packet for query is too large
- javascript预处理机制
- 每天一个linux命令(40):ifconfig命令
- 机器学习之-knn-具体怎么实现与应用
- 严重: Dispatcher initialization …
- Invalid property 'annotatedClass…
- Could not find action or result
- Extjs combo提交取value值
- Java序列化的机制和原理
- Caused by: java.lang.NoClassDefF…
- 持久化类(persistent classes)Hi…
- Ljava.lang.String
- Pool thread stack traces: Thread…
- Metaio sdk+creator 安装包下载(包括windows、mac版本)更新到6