[英]Spring, CXF, java.lang.Class cannot be cast to [Ljava.lang.Class;
I get the following Error and can't understand the problem of it: 我收到以下错误,无法理解它的问题:
Error creating bean with name 'someJobBean' defined in class path resource [xx/yy//zz.xml]: Instantiation of bean failed;
创建在类路径资源[xx / yy // zz.xml]中定义的名称为'someJobBean'的bean时出错:bean的实例化失败; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.lang.Object org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create()] threw exception;
嵌套的异常是org.springframework.beans.factory.BeanDefinitionStoreException:工厂方法[公共java.lang.Object org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create()]引发了异常; nested exception is java.lang.ClassCastException: java.lang.Class cannot be cast to [Ljava.lang.Class;
嵌套的异常是java.lang.ClassCastException:无法将java.lang.Class强制转换为[Ljava.lang.Class;
Any helpful information is welcomed! 欢迎任何有用的信息!
All we know right now is that it's getting a Class where it expects a Class[]. 我们现在所知道的是,它在期望Class []的位置获得了Class。 We'd know more with some code.
我们会用一些代码了解更多。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.