- 浏览: 3376188 次
- 性别:
- 来自: 珠海
文章分类
- 全部博客 (1633)
- Java (250)
- Android&HTML5 (111)
- Struts (10)
- Spring (236)
- Hibernate&MyBatis (115)
- SSH (49)
- jQuery插件收集 (55)
- Javascript (145)
- PHP (77)
- REST&WebService (18)
- BIRT (27)
- .NET (7)
- Database (105)
- 设计模式 (16)
- 自动化和测试 (19)
- Maven&Ant (43)
- 工作流 (36)
- 开源应用 (156)
- 其他 (16)
- 前台&美工 (119)
- 工作积累 (0)
- OS&Docker (83)
- Python&爬虫 (28)
- 工具软件 (157)
- 问题收集 (61)
- OFbiz (6)
- noSQL (12)
最新评论
-
HEZR曾嶸:
你好博主,这个不是很理解,能解释一下嘛//左边+1,上边+1, ...
java 两字符串相似度计算算法 -
天使建站:
写得不错,可以看这里,和这里的这篇文章一起看,有 ...
jquery 遍历对象、数组、集合 -
xue88ming:
很有用,谢谢
@PathVariable映射出现错误: Name for argument type -
jnjeC:
厉害,困扰了我很久
MyBatis排序时使用order by 动态参数时需要注意,用$而不是# -
TopLongMan:
非常好,很实用啊。。
PostgreSQL递归查询实现树状结构查询
http://www.cnblogs.com/macula/archive/2013/05/06/3063450.html
异常信息如下:
Error creating bean with name 'sysLogAction' defined in file [E:\Workspace\eoms\ultrawf\WebRoot\WEB-INF\classes\spring\bjeoms-sysinfo.xml]: Cannot resolve reference to bean 'sysLogService' while setting bean property 'sysLogService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysLogService' defined in file [E:\Workspace\eoms\ultrawf\WebRoot\WEB-INF\classes\spring\bjeoms-sysinfo.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.ultrapower.eoms.common.dao.impl.HibernateDaoImpl] to required type [com.ultrapower.bjeoms.common.core.dao.IHibernateDao] for property 'hibernateDao'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.ultrapower.eoms.common.dao.impl.HibernateDaoImpl] to required type [com.ultrapower.bjeoms.common.core.dao.IHibernateDao] for property 'hibernateDao': no matching editors or conversion strategy found
相关配置信息如下:
【bjeoms-sysinfo.xml】
【dataAccessContext-hibernate.xml】
异常说明 :在使用id="bjIDao"的实现类时,由于实现类中的set方法没有写成setBjIDao,而是copy bean id="hibernateDao"的setHibernateDao,导致映射的类不匹配。
在功能迁移时,ctrl+c、ctrl+v 时要小心 ,注意~~~
异常信息如下:
Error creating bean with name 'sysLogAction' defined in file [E:\Workspace\eoms\ultrawf\WebRoot\WEB-INF\classes\spring\bjeoms-sysinfo.xml]: Cannot resolve reference to bean 'sysLogService' while setting bean property 'sysLogService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysLogService' defined in file [E:\Workspace\eoms\ultrawf\WebRoot\WEB-INF\classes\spring\bjeoms-sysinfo.xml]: Initialization of bean failed; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [com.ultrapower.eoms.common.dao.impl.HibernateDaoImpl] to required type [com.ultrapower.bjeoms.common.core.dao.IHibernateDao] for property 'hibernateDao'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [com.ultrapower.eoms.common.dao.impl.HibernateDaoImpl] to required type [com.ultrapower.bjeoms.common.core.dao.IHibernateDao] for property 'hibernateDao': no matching editors or conversion strategy found
相关配置信息如下:
【bjeoms-sysinfo.xml】
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd"> <beans default-autowire="byName" default-lazy-init="true"> <!-- 系统日志信息 syslog start --> <bean id="sysLogAction" class="com.ultrapower.bjeoms.syslog.action.BJEomsSysLogAction" /> <bean id="sysLogService" class="com.ultrapower.bjeoms.syslog.manager.BJEomsSysLogServiceImpl" /> <!-- 系统日志信息 syslog end --> </beans>
【dataAccessContext-hibernate.xml】
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd"> <beans default-autowire="byName" default-lazy-init="true"> <bean > 。。。 。。。 </bean> <!--Hibernate TransactionManager--> <bean id="appSessionFactory" class="cn.com.ultrapower.eoms.common.basedao.GeneralDAO" lazy-init="false"> <property name="hibernateSessionFactory" ref="sessionFactory" /> </bean> <bean id="baseSessionFactory" class="cn.com.ultrapower.eoms.user.comm.hibernatesession.HibernateSessionFactory" lazy-init="false"> <property name="hibernateSessionFactory" ref="sessionFactory" /> </bean> <bean id="hibernateDao" class="com.ultrapower.eoms.common.dao.impl.HibernateDaoImpl"/> <bean id="bjIDao" class="com.ultrapower.bjeoms.common.core.dao.impl.HibernateDaoImpl"/> </beans>
异常说明 :在使用id="bjIDao"的实现类时,由于实现类中的set方法没有写成setBjIDao,而是copy bean id="hibernateDao"的setHibernateDao,导致映射的类不匹配。
在功能迁移时,ctrl+c、ctrl+v 时要小心 ,注意~~~
发表评论
-
网站性能优化方式整理
2016-02-17 10:31 876http://my.oschina.net/morven/bl ... -
SprignMVC 415 Unsupported Media Type 错误
2015-11-19 14:26 1806解决问题参考两个地址: http://blog.csdn.ne ... -
This is very likely to create a memory leak
2015-11-13 21:32 1505http://stackoverflow.com/questi ... -
@PathVariable映射出现错误: Name for argument type
2015-06-28 18:47 9836关于spring java.lang.IllegalArgum ... -
Plugin execution not covered by lifecycle configuration
2015-04-22 20:09 2846异常信息: Plugin execution not cove ... -
解决com.ibatis.sqlmap.client.SqlMapException: There is no statement named in this
2015-04-03 16:43 5075自己碰到的情况 <bean id="sqlMa ... -
Spring扫描jar包中的类
2015-03-27 11:28 1265转自: http://liuqiang5151.iteye.c ... -
<form></form>中有<a>按钮时不能跳转
2014-09-12 09:57 985在使用easyui的时候, 碰到的问题: <form&g ... -
解决”java.lang.UnsatisfiedLinkError: Native Library .dll already loaded in another
2014-08-22 09:29 1238http://www.cnblogs.com/newstar/ ... -
问题: Max retries exceeded with url
2013-10-07 11:36 29285解决一: http://stackoverflow.com/q ... -
Timeout waiting for idle object
2013-07-04 10:52 2246增加Hibernate的database配置: <pro ... -
Unable to guess FieldBridge for 字段名
2013-07-03 14:13 1992http://stackoverflow.com/questi ... -
Failure [INSTALL_FAILED_OLDER_SDK]
2013-06-21 21:23 1472http://www.eoeandroid.com/threa ... -
VirtualBoX安装增强功能报错解决方法
2013-06-02 22:43 3880Building the main Guest Additio ... -
解决Cannot open the disk 'F:/vmware/Ubuntu.vmdk' or one of the snapshot disks it d
2013-05-20 09:21 1680解决Cannot open the disk 'F:/vmwa ... -
JBoss JBPM 5.2.0 中遇到的几个问题及解决方法
2013-05-19 23:08 1893http://cutelion.blog.hexun.com/ ... -
java.lang.ArrayIndexOutOfBoundsException: 48188
2013-05-19 21:33 3543http://blog.csdn.net/ruzhefeng/ ... -
Access denied for user 'root '@'localhost'
2013-05-18 02:18 1498http://blog.csdn.net/lyflower/a ... -
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-quicksta
2013-05-13 19:57 2443http://blog.csdn.net/ranrui1314 ... -
java.lang.OutOfMemoryError: PermGen space及其解决方法
2013-04-24 15:19 1454http://blog.csdn.net/fengyie007 ...
相关推荐
apache报Cannot serve directory No matching DirectoryIndex (index.html) found的解决办法 localhost无法访问的可能原因
BLOG_【故障处理】Oracle_lhr_ORA-28040 No matching authentication protocol.pdfBLOG_【故障处理】Oracle_lhr_ORA-28040 No matching authentication protocol.pdf
网上搜了一堆,都无法生效,最终找到了一个完美解决方案: 在代码层跳出SSL验证 1、观察异常日志信息如下: 2、新增跳过证书的类,TrustAllTrustManager.java,代码如下: public class TrustAllTrustManager ...
任何一个WEB都需要解决URL与请求处理器之间的映射,spring MVC也是一样,但Spring MVC就像Spring所作的一切一样(灵活,可以配置各种东西,但是也造成了很多复杂性),肯定不会只有一种方法来映射URL和 Controller之间...
Android模拟器安装APP出现INSTALL_FAILED_NO_MATCHING_ABIS错误解决方案 当我们想在电脑的Android模拟器中安装APP的时候,会报INSTALL_FAILED_NO_MATCHING_ABIS错误【如图1】,导致APP无法在模拟器中运行。下面给出...
ORA-28040: No matching authentication protocol问题需要oracle12匹配的驱动,目前使用的ojdbc6会出现此问题。用ojdbc8.jar即可解决此问题。官网下载的原版。
Type 异常报告 消息 Failed to convert ... nested exception is java.lang.IllegalStateException: Cannot convert value of type 'java.lang.String' to required type 'java.util.Date': no matching editors or co
主要为大家详细介绍了Android Studio启动时报错Java 1.8 or later is required的解决方法,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
主要给大家介绍了关于spring配置文件解析失败报”cvc-elt.1: 找不到元素 'beans' 的声明”异常的解决方法,需要的朋友可以参考下
Dynamic element matching techniques for data converters
原文链接https://www.codeproject.com/Articles/99457/Edge-Based-Template-Matching; 其中vs2015+opencv3.3版code:https://download.csdn.net/download/zfjbit/10732568
在windows环境下安装python的XlsxWriter模块,虽然很简单,但由于自己粗心,少了一个字符,导致不少的错误。。。 1、通过pip命令来安装。...No matching distribution found for XlsWriter You are using pip versio
python GUI开发 wxPython库 (wxPython-4.0.0b2-cp27-cp27m-win_amd64)
matching
No matching distribution found for PIL 3、错误原因:后来找了很多方法,发现我的电脑是64位的,而官网只提供32位的,就是自己去官网下载的其他PIL, 也是32位的。 4、解决方法:找一个非官方的64位大家通用的PIL...
23.8. Using the ApplicationRunner or CommandLineRunner 23.9. Application Exit 23.10. Admin Features 24. Externalized Configuration 24.1. Configuring Random Values 24.2. Accessing Command Line ...
Oracle 登录 报错No matching authentication protocol 文档
python环境:anaconda+win10 ...No matching distribution found for selenium 于是我开始了问度娘,有问题找度娘嘛。可是找啊找,网上的答案主要是: 方法1:增大超时时间 pip –default-timeout
基于push-relabel方法解决maximum matching的算法