简体   繁体   中英

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; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public java.lang.Object org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create()] threw exception; nested exception is java.lang.ClassCastException: java.lang.Class cannot be cast to [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[]. We'd know more with some code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM