- 浏览: 1722275 次
- 性别:
- 来自: 上海
文章分类
- 全部博客 (337)
- javaScript校验 (11)
- java (31)
- java连接数据库 (1)
- js应用 (41)
- JQuery (15)
- linux操作命令 (12)
- loadrunner测试 (5)
- tomcat (18)
- 数据库 (12)
- eclipse (7)
- 触发器 (7)
- 表单 (3)
- ibatis (6)
- oracle (4)
- xml (1)
- Exception (6)
- spring (16)
- struts (4)
- struts 标签 (2)
- sql (8)
- sql server (6)
- 其它 (18)
- Apache (2)
- 电脑故障 (4)
- java 线程 (1)
- dwr (8)
- jackey (18)
- 总结 (34)
- gcc linux (2)
- extjs 学习 (5)
- 网站建设 (4)
- 健康 (2)
- 房地产知识 (1)
- hibernate (3)
- mysql (7)
- linux (13)
- svn (1)
最新评论
-
阳光泛滥的日子:
很好用谢谢
java.net.URISyntaxException的解决办法 -
linjianqing:
现在有更好的处理方式吗?我正也为这发愁
applet访问打印机出现的问题 -
ruyi574812039:
非常感谢您的总结!想问几个问题!假设三个项目分别以静态部署的三 ...
在Tomcat中部署Web程序的几种方式 -
yangguo:
太j8麻烦了
Spring3.1中使用缓存注解及Shiro的缓存联合 -
bellawang:
很好用谢谢
java.net.URISyntaxException的解决办法
spring Failed to convert property value of type [$Proxy10] to required type
- 博客分类:
- spring
org.springframework.beans.factory.BeanCreationException: Error creating bean with name '/common' defined in class path resource [com/ww/crm/biz/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessExceptions (1) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy10] to required type [com.ww.crm.biz.impl.EmpDynamicRightBiz] for property 'iempDynRight'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy10] to required type [com.ww.crm.biz.impl.EmpDynamicRightBiz] for property 'iempDynRight': no matching editors or conversion strategy found
Caused by:
org.springframework.beans.PropertyBatchUpdateException; nested PropertyAccessException details (1) are:
PropertyAccessException 1:
org.springframework.beans.TypeMismatchException: Failed to convert property value of type [$Proxy10] to required type [com.ww.crm.biz.impl.EmpDynamicRightBiz] for property 'iempDynRight'; nested exception is java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy10] to required type [com.ww.crm.biz.impl.EmpDynamicRightBiz] for property 'iempDynRight': no matching editors or conversion strategy found
Caused by:
java.lang.IllegalArgumentException: Cannot convert value of type [$Proxy10] to required type [com.ww.crm.biz.impl.EmpDynamicRightBiz] for property 'iempDynRight': no matching editors or conversion strategy found
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:231)
at org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:138)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:815)
at org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:645)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:78)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:59)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1122)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:423)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:249)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:155)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:246)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:291)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:352)
at org.springframework.web.struts.ContextLoaderPlugIn.createWebApplicationContext(ContextLoaderPlugIn.java:354)
at org.springframework.web.struts.ContextLoaderPlugIn.initWebApplicationContext(ContextLoaderPlugIn.java:295)
at org.springframework.web.struts.ContextLoaderPlugIn.init(ContextLoaderPlugIn.java:225)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336)
at javax.servlet.GenericServlet.init(GenericServlet.java:212)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4045)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4351)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:525)
at org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:920)
at org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:883)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1138)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:719)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at org.apache.catalina.core.StandardService.start(StandardService.java:516)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
at org.apache.catalina.startup.Catalina.start(Catalina.java:566)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
2011-12-18 7:16:51 org.apache.catalina.core.ApplicationContext log
当你看我的红色标识的提示时,可能已经知道自己错在什么地方.
在上面的报错中,我在action里面本应该引入一个接口,但我却引入接口的实例类,所有上错误提示中不能将代理type [$Proxy10] 转换成 type [com.ww.crm.biz.impl.EmpDynamicRightBiz] ,我把我的action中修改成[com.ww.crm.biz.IEmpDynamicRightBiz] 就行了.
发表评论
-
ehcache 缓存监听器的使用CacheEventListener
2012-09-24 14:33 7618ehcache通过配置,可以实现诸如,内容最长缓存时间,内容最 ... -
Spring3.1中使用缓存注解及Shiro的缓存联合
2012-09-24 12:00 15399Spring最近释出了3.1的REALEASE版本,到我写这篇 ... -
spring 3.1中的cache小结
2012-09-24 11:58 3950spring 3.1中有cache了,下面结合目前网上的一些资 ... -
关于Spring事务代理类型转换问题($ProxyXX cannot be cast to 类型)(
2012-09-12 21:38 4232二、解决方案 后来在网上搜了一下,这样的问题很多 ... -
Spring MVC:使用SimpleUrlHandlerMapping的一个简单例子
2009-09-27 00:50 4993实现一个控制器ShirdrnController,如下所示: ... -
ClassPathXmlApplicationContext和FileSystemXmlApplicationContext的路径设置祥解
2009-09-19 10:24 3638package com.openv.spring; ... -
ClassPathXmlApplicationContext 和FileSystemXmlAppli
2009-06-24 12:45 1374ClassPathXmlApplicationContext ... -
PropertyPlaceholderConfigurer
2008-12-03 10:38 2566Spring的框架中为您提供了一个 BeanFactoryPo ... -
Spring MVC 入门 实例
2008-07-03 10:55 5680下面开始开发Spring MVC应用程序 (2)修改WEB- ... -
Spring MVC 配置
2008-07-03 09:38 2060一,配置分发器 DispatcherServlet 是Spri ... -
JdbcTemplate - 查询
2008-06-20 10:40 6789使用JdbcTemplate进行查询时,可以使用queryF ... -
转载]spring+hibernate架构中Dao访问数据库的几种方法
2008-06-20 10:28 7684spring+hibernate架构中Dao访问数据库的几种方 ... -
JdbcTemplate总结
2008-06-20 10:10 26461.您可以使用JdbcTemplate的execute()方法 ... -
//插入很多书(批量插入用法)jdbcTemplate
2008-06-20 10:09 6863//插入很多书(批量插入用法) public void in ... -
JdbcTemplate学习笔记
2008-06-20 09:16 19301、使用JdbcTemplate的execute()方法执行S ...
相关推荐
Java动态代理内存中生成的$Proxy0类
主要介绍了java.lang.NoSuchMethodException: com.sun.proxy.$Proxy58.list错误解决办法的相关资料,需要的朋友可以参考下
1.Connect to the ESX host using SSH. For more information, see Connecting to an ESX host using an SSH client (1019852). 2.Take a backup of the /etc/vmware/config file using this command: cp /etc/...
spring proxy代理模仿 提练出来了
php-proxy 是基于 PHP,Symfony 和 cURL 的代理脚本,这个库借鉴了 Glype,Jenssegers proxy 和 Guzzle 的经验。...// send the response back to the client $response->send(); 标签:phpproxy
Spring示例_Printer_Spring_AOP_Spring_Proxy
Spring源代码解析(五):Spring_AOP获取Proxy.doc
SpringIOC,DI+dynamic proxy 实现盗版AOP的源代码
use RestProxy\RestProxy; use RestProxy\CurlWrapper; $proxy = new RestProxy( Request::createFromGlobals(), new CurlWrapper() ); $proxy->register('github', 'https://api.github.com'); $proxy->run(); ...
10. Installing Spring Boot 10.1. Installation Instructions for the Java Developer 10.1.1. Maven Installation 10.1.2. Gradle Installation 10.2. Installing the Spring Boot CLI 10.2.1. Manual ...
will learn how to enable different backend repositories of property sources and push change notifications using Spring Cloud Bus. We will compare discovery first bootstrap and config first bootstrap ...
This book will take you through Design Patterns and best practices required with the Spring framework. You will learn to use these design patterns to solve common problems when designing an ...
We way we’re more of a fully proxy but what does that mean and is it important to the customer? The line of what is and isn’t a proxy are being blurred. We need to clarify these differences and ...
Spring源代码解析(五):Spring AOP获取Proxy Spring源代码解析(六):Spring声明式事务处理 Spring源代码解析(七):Spring AOP中对拦截器调用的实现 Spring源代码解析(八):Spring驱动Hibernate的实现 Spring源...
propInfo.propertyName = prop.Attributes["name"].Value; propInfo.assemblyName = prop.Attributes["assembly"].Value; propInfo.typeName = prop.Attributes["typeName"].Value; info.properties.Add...
Ipv4 转 Ipv6的一个软件,希望对大家有用~~~~~
ProXY4To6-v2.4.zip
To use proxy please check/specify these environment variables: - http_proxy/https_proxy - and/or HTTP_PROXY/HTTPS_PROXY 可以下载本资源结合我的博文(https://editor.csdn.net/md/?articleId=121682921)...
有一天在用回调模版的时候,忽然间又想到jdk自带的Proxy类似乎不是怎么好用,为何不把其做成回调模版呢,可以将其改造称类似spring Aop 代码如下: package com.fjx.proxy.up.test; import ...
连接数据库,快速实现对oracle的连接